Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/e-section/php/logger.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; logger has a deprecated constructor
Server metrics [RAM: ▼1.85MB] [CPU: ▼53.23ms] Passed 4 tests
Analyzing server-side resources used by E-Section
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 5.21 ▼35.36 |
Dashboard /wp-admin | 2.16 ▼1.14 | 6.22 ▼42.38 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 6.85 ▼52.14 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 6.07 ▼83.02 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 8.00 ▼30.39 |
Additional Sections /wp-admin/admin.php?page=e-section-additional-sections | 2.16 | 6.17 |
Logger /wp-admin/admin.php?page=e-section-logger | 2.16 | 6.84 |
Readership Report /wp-admin/admin.php?page=e-section-reader-report | 2.16 | 5.67 |
Export Posts /wp-admin/admin.php?page=e-section-export-posts | 2.16 | 6.80 |
Print Tags /wp-admin/admin.php?page=e-section-print-tags | 2.16 | 5.09 |
E-Section /wp-admin/admin.php?page=e-section | 2.16 | 6.83 |
GEO Logger /wp-admin/admin.php?page=e-section-geo-logger | 2.16 | 5.74 |
Edition Planner /wp-admin/admin.php?page=e-section-edition-planner | 2.16 | 6.53 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 10 new options
New WordPress options |
---|
print_tag_options |
widget_recent-comments |
theysaidso_admin_options |
export_posts_tag |
db_upgraded |
can_compress_scripts |
e_section_db_ver |
widget_theysaidso_widget |
widget_recent-posts |
export_posts_no_posts |
Browser metrics Passed 4 tests
Checking browser requirements for E-Section
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,024 ▲263 | 14.75 ▲0.21 | 1.84 ▲0.10 | 29.86 ▼15.43 |
Dashboard /wp-admin | 2,430 ▲256 | 5.99 ▲0.42 | 101.56 ▲6.42 | 48.94 ▲6.68 |
Posts /wp-admin/edit.php | 2,177 ▲77 | 2.06 ▲0.07 | 43.07 ▼0.53 | 34.75 ▼2.62 |
Add New Post /wp-admin/post-new.php | 6,392 ▲4,866 | 26.27 ▲2.68 | 912.78 ▲200.10 | 61.47 ▲5.19 |
Media Library /wp-admin/upload.php | 1,451 ▲57 | 4.16 ▼0.00 | 103.35 ▲5.34 | 48.20 ▲8.21 |
Additional Sections /wp-admin/admin.php?page=e-section-additional-sections | 1,185 | 2.05 | 30.79 | 38.26 |
Logger /wp-admin/admin.php?page=e-section-logger | 870 | 1.70 | 24.60 | 30.92 |
Readership Report /wp-admin/admin.php?page=e-section-reader-report | 935 | 1.91 | 30.56 | 34.52 |
Export Posts /wp-admin/admin.php?page=e-section-export-posts | 908 | 1.77 | 24.98 | 24.78 |
Print Tags /wp-admin/admin.php?page=e-section-print-tags | 2,259 | 1.87 | 29.90 | 26.46 |
E-Section /wp-admin/admin.php?page=e-section | 848 | 1.89 | 24.99 | 26.48 |
GEO Logger /wp-admin/admin.php?page=e-section-geo-logger | 858 | 1.90 | 24.95 | 32.83 |
Edition Planner /wp-admin/admin.php?page=e-section-edition-planner | 996 | 1.91 | 28.97 | 47.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/e-section/php/logger.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; logger has a deprecated constructor
- This plugin does not fully uninstall, leaving 10 options in the database
- theysaidso_admin_options
- widget_recent-comments
- e_section_db_ver
- can_compress_scripts
- widget_theysaidso_widget
- export_posts_no_posts
- widget_recent-posts
- print_tag_options
- db_upgraded
- export_posts_tag
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Deprecated in wp-content/plugins/e-section/php/logger.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; logger has a deprecated constructor
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Warning in wp-content/plugins/e-section/php/export-posts.php+7
Declaration of Export_Posts_Walker_Category_Checklist::start_lvl(&$output, $depth, $args) should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array)
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Warning in wp-content/plugins/e-section/php/export-posts.php+12
Declaration of Export_Posts_Walker_Category_Checklist::end_lvl(&$output, $depth, $args) should be compatible with Walker::end_lvl(&$output, $depth = 0, $args = Array)
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Warning in wp-content/plugins/e-section/php/export-posts.php+17
Declaration of Export_Posts_Walker_Category_Checklist::start_el(&$output, $category, $depth, $args) should be compatible with Walker::start_el(&$output, $data_object, $depth = 0, $args = Array, $current_object_id = 0)
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Warning in wp-content/plugins/e-section/php/export-posts.php+38
Declaration of Export_Posts_Walker_Category_Checklist::end_el(&$output, $category, $depth, $args) should be compatible with Walker::end_el(&$output, $data_object, $depth = 0, $args = Array)
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > User notice in wp-includes/functions.php+5905
Function is_single was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Warning in wp-content/plugins/e-section/php/page-planner.php+26
Use of undefined constant COLUMN_INCHES_OPTION - assumed 'COLUMN_INCHES_OPTION' (this will throw an Error in a future version of PHP)
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Notice in wp-content/plugins/e-section/php/page-planner.php+27
Trying to access array offset on value of type bool
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Notice in wp-content/plugins/e-section/php/page-planner.php+28
Undefined variable: words_inches
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Warning in wp-content/plugins/e-section/php/page-planner.php+28
count(): Parameter must be an array or an object that implements Countable
- > GET request to /wp-admin/admin.php?page=e-section-logger
- > Notice in wp-content/plugins/e-section/php/logger.php+97
Undefined index: interval
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Notice in wp-content/plugins/e-section/php/page-planner.php+321
Undefined index: date
- > GET request to /wp-admin/admin.php?page=e-section-export-posts
- > Notice in wp-content/plugins/e-section/php/export-posts.php+320
Undefined index: category
- > GET request to /wp-admin/admin.php?page=e-section-export-posts
- > Notice in wp-content/plugins/e-section/php/export-posts.php+320
Undefined index: status
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=e-section-export-posts
- > Notice in wp-content/plugins/e-section/php/export-posts.php+336
Undefined index: keyword
- > GET request to /wp-admin/admin.php?page=e-section-export-posts
- > Notice in wp-content/plugins/e-section/php/export-posts.php+320
Undefined index: tag
- > GET request to /wp-admin/admin.php?page=e-section-export-posts
- > Notice in wp-content/plugins/e-section/php/export-posts.php+320
Undefined index: post_category
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Notice in wp-content/plugins/e-section/php/page-planner.php+134
Undefined variable: custom_statuses
- > GET request to /wp-admin/admin.php?page=e-section-edition-planner
- > Warning in wp-content/plugins/e-section/php/page-planner.php+134
Invalid argument supplied for foreach()
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/e-section/php/reader_report.php
- > /wp-content/plugins/e-section/php/clear-print-tags.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/e-section/e-section.php:17
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/e-section/php/export-posts.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: A description for screenshot #2 is missing in e-section/assets to your readme.txt
e-section/e-section.php Passed 13 tests
"E-Section" version 2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
49 characters long description:
Allows you to manage your posts by section / page
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin3,412 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 452 | 216 | 2,662 |
CSS | 2 | 49 | 61 | 481 |
JavaScript | 3 | 37 | 337 | 269 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 33.80 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 5.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 76 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 7 | 63.64% |
▷ Class constants | 4 | 36.36% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
13 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/smoothness/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/smoothness/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
css/smoothness/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/smoothness/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |