Tuesday juiceday

Author Message

Sander van den Akker

Tuesday 15 February 2011 2:28:20 pm

How many lines of code is eZ Publish?

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Paul Borgermans

Tuesday 15 February 2011 2:51:09 pm

$ phploc lib kernel
phploc 1.6.1 by Sebastian Bergmann.
Directories: 517
Files: 2837
Lines of Code (LOC): 579166
 Cyclomatic Complexity / Lines of Code: 0.13
Comment Lines of Code (CLOC): 240626
Non-Comment Lines of Code (NCLOC): 338540
Namespaces: 0
Interfaces: 113
Classes: 2429
 Abstract: 184 (7.58%)
 Concrete: 2245 (92.42%)
 Average Class Length (NCLOC): 139
Methods: 16090
 Scope:
 Non-Static: 13406 (83.32%)
 Static: 2684 (16.68%)
 Visibility:
 Public: 13802 (85.78%)
 Non-Public: 2288 (14.22%)
 Average Method Length (NCLOC): 21
 Cyclomatic Complexity / Number of Methods: 3.44
Anonymous Functions: 0
Functions: 159
Constants: 1495
 Global constants: 23
 Class constants: 1472

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:20:13
Script start
Timing: Jan 18 2025 05:20:13
Module start 'layout'
Timing: Jan 18 2025 05:20:13
Module start 'content'
Timing: Jan 18 2025 05:20:14
Module end 'content'
Timing: Jan 18 2025 05:20:14
Script end

Main resources:

Total runtime0.8206 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.9141152.6094
Module start 'layout' 0.00590.0030 741.523439.4375
Module start 'content' 0.00890.8093 780.9609532.5234
Module end 'content' 0.81820.0024 1,313.48448.1875
Script end 0.8206  1,321.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.5443160.0003
Check MTime0.00150.1780160.0001
Mysql Total
Database connection0.00070.090910.0007
Mysqli_queries0.776294.5890540.0144
Looping result0.00040.0538520.0000
Template Total0.789196.220.3945
Template load0.00210.261320.0011
Template processing0.786995.895720.3935
Template load and register function0.00010.012310.0001
states
state_id_array0.00090.110610.0009
state_identifier_array0.00090.104520.0004
Override
Cache load0.00170.204480.0002
Sytem overhead
Fetch class attribute can translate value0.00060.067620.0003
Fetch class attribute name0.00100.120840.0002
XML
Image XML parsing0.00110.133720.0005
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00210.2529240.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs