Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.45ms] Passed 4 tests
This is a short check of server-side resources used by Content Planner
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.90 ▲1.40 |
Dashboard /wp-admin | 3.38 ▲0.03 | 49.21 ▼7.68 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 45.55 ▼2.40 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 82.16 ▼17.11 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.27 ▲4.78 |
Content Planner /wp-admin/options-general.php?page=nhp_theme_options | 2.05 | 7.87 |
Install Plugins /wp-admin/plugins.php?page=install-required-plugins | 2.05 | 7.28 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 448 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
wpm_cp |
Browser metrics Passed 4 tests
Checking browser requirements for Content Planner
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲165 | 13.43 ▼1.12 | 9.81 ▲8.14 | 43.15 ▲2.81 |
Dashboard /wp-admin | 2,230 ▲49 | 5.52 ▼0.20 | 85.08 ▼11.20 | 44.49 ▲2.88 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.07 ▲0.10 | 34.91 ▼2.19 | 43.37 ▲5.14 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.34 ▲0.01 | 687.74 ▲22.98 | 57.80 ▼0.25 |
Media Library /wp-admin/upload.php | 1,446 ▲46 | 4.17 ▼0.04 | 110.85 ▲6.91 | 51.24 ▲5.91 |
Content Planner /wp-admin/options-general.php?page=nhp_theme_options | 958 | 2.34 | 35.45 | 36.74 |
Install Plugins /wp-admin/plugins.php?page=install-required-plugins | 939 | 2.05 | 26.55 | 35.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- wpm_cp
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=install-required-plugins
- > Warning in wp-content/plugins/content-planner/classes/class-tgm-plugin-activation.php+1977
Declaration of TGM_Bulk_Installer_Skin::before() should be compatible with Bulk_Upgrader_Skin::before($title = '')
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=install-required-plugins
- > Warning in wp-content/plugins/content-planner/classes/class-tgm-plugin-activation.php+1999
Declaration of TGM_Bulk_Installer_Skin::after() should be compatible with Bulk_Upgrader_Skin::after($title = '')
- > GET request to /wp-admin/plugins.php?page=install-required-plugins
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/plugins.php?page=install-required-plugins
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 51× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'NHP_Options' not found in wp-content/plugins/content-planner/classes/options/validation/html_custom/validation_html_custom.php:2
- > PHP Fatal error
Uncaught Error: Class 'NHP_Options' not found in wp-content/plugins/content-planner/classes/options/fields/select/field_select.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/content-planner/classes/cmb/example-functions.php:11
- > PHP Fatal error
Uncaught Error: Class 'NHP_Options' not found in wp-content/plugins/content-planner/classes/options/fields/text/field_text.php:2
- > PHP Fatal error
Uncaught Error: Class 'NHP_Options' not found in wp-content/plugins/content-planner/classes/options/fields/editor/field_editor.php:2
- > PHP Fatal error
Uncaught Error: Class 'NHP_Options' not found in wp-content/plugins/content-planner/classes/options/fields/pages_select/field_pages_select.php:2
- > PHP Fatal error
Uncaught Error: Class 'NHP_Options' not found in wp-content/plugins/content-planner/classes/options/fields/menu_location_select/field_menu_location_select.php:2
- > PHP Fatal error
Uncaught Error: Class 'NHP_Options' not found in wp-content/plugins/content-planner/classes/options/validation/str_replace/validation_str_replace.php:2
- > PHP Fatal error
Uncaught Error: Class 'NHP_Options' not found in wp-content/plugins/content-planner/classes/options/fields/divide/field_divide.php:2
- > PHP Fatal error
Uncaught Error: Class 'NHP_Options' not found in wp-content/plugins/content-planner/classes/options/fields/tags_multi_select/field_tags_multi_select.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Screenshot #1 (A sample of the content list) image not found
content-planner/content-planner.php 92% from 13 tests
"Content Planner" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Git Repository: Please remove the Git repository from this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin6,192 lines of code in 71 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 1,590 | 2,178 | 4,442 |
CSS | 5 | 114 | 193 | 1,291 |
JavaScript | 13 | 98 | 83 | 350 |
Markdown | 2 | 29 | 0 | 109 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 16.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 184.00 |
Average method complexity | 5.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 52 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 200 | |
▷ Static methods | 4 | 2.00% |
▷ Public methods | 194 | 97.00% |
▷ Protected methods | 6 | 3.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
375 compressed PNG files occupy 0.20MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
classes/options/img/glyphicons/glyphicons_254_fishes.png | 0.30KB | 0.33KB | 0.00% |
classes/options/img/glyphicons/glyphicons_082_roundabout.png | 0.36KB | 0.35KB | ▼ 4.83% |
classes/options/img/glyphicons/glyphicons_173_play.png | 0.16KB | 0.19KB | 0.00% |
classes/options/img/glyphicons/glyphicons_135_inbox_out.png | 0.27KB | 0.30KB | 0.00% |
classes/options/img/glyphicons/glyphicons_061_keynote.png | 0.27KB | 0.30KB | 0.00% |