Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.06MB] [CPU: ▼14.63ms] Passed 4 tests
An overview of server-side resources used by NGO Production
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.79 ▼4.79 |
Dashboard /wp-admin | 3.31 ▼0.03 | 33.36 ▼35.39 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.64 ▼3.20 |
Add New Post /wp-admin/post-new.php | 5.57 ▼0.32 | 82.26 ▼15.13 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.74 ▲3.62 |
Production genre /wp-admin/edit-tags.php?taxonomy=production_category&post_type=production | 3.30 | 32.37 |
Add New /wp-admin/post-new.php?post_type=production | 3.39 | 48.68 |
Venues /wp-admin/edit-tags.php?taxonomy=production_scenes&post_type=production | 3.30 | 30.37 |
All Productions /wp-admin/edit.php?post_type=production | 3.36 | 36.44 |
Actors /wp-admin/edit-tags.php?taxonomy=production_actors&post_type=production | 3.30 | 34.13 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for NGO Production
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲73 | 14.75 ▲0.40 | 1.77 ▲0.02 | 49.13 ▲5.67 |
Dashboard /wp-admin | 2,240 ▲69 | 5.61 ▼0.05 | 85.62 ▼6.42 | 43.61 ▼2.58 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.03 ▼0.11 | 34.77 ▼7.24 | 38.52 ▲3.36 |
Add New Post /wp-admin/post-new.php | 1,461 ▼79 | 18.28 ▼0.06 | 577.21 ▼65.93 | 52.06 ▼5.70 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.21 ▲0.03 | 139.61 ▲35.43 | 58.69 ▲14.53 |
Production genre /wp-admin/edit-tags.php?taxonomy=production_category&post_type=production | 1,316 | 2.30 | 28.21 | 29.66 |
Add New /wp-admin/post-new.php?post_type=production | 2,666 | 8.01 | 195.77 | 86.93 |
Venues /wp-admin/edit-tags.php?taxonomy=production_scenes&post_type=production | 1,316 | 2.30 | 27.73 | 30.72 |
All Productions /wp-admin/edit.php?post_type=production | 1,156 | 2.02 | 31.58 | 32.56 |
Actors /wp-admin/edit-tags.php?taxonomy=production_actors&post_type=production | 1,285 | 2.30 | 28.15 | 31.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
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
These errors were triggered by the plugin
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=production_actors&post_type=production
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-production/template-files/wally-child-ngo/taxonomy-production_scenes.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-production/template-files/twenty-fifteen-child-ngo/single-production.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-production/template-files/twenty-fifteen-child-ngo/archive-production.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-production/template-files/beyond-expectations-child-ngo/taxonomy-production_actors.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-production/template-files/beyond-expectations-child-ngo/archive-production.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-production/template-files/twenty-fifteen-child-ngo/taxonomy-production_scenes.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-production/template-files/wally-child-ngo/single-production.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-production/template-files/beyond-expectations-child-ngo/single-production.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ngo-production/template-files/beyond-expectations-child-ngo/taxonomy-production_scenes.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/ngo-production/template-files/twenty-fifteen-child-ngo/content-production.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=production
- > Network (severe)
wp-content/plugins/ngo-production/css/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #0 in ngo-production/assets to your readme.txt
ngo-production/ngo-production.php 92% from 13 tests
The main PHP file in "NGO Production" ver. 1.2.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 176 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected2,011 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 141 | 136 | 1,371 |
CSS | 1 | 39 | 63 | 384 |
PO File | 1 | 81 | 83 | 256 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin