Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.71MB] [CPU: ▲5.00ms] Passed 4 tests
An overview of server-side resources used by Nooz
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.19 ▲0.73 | 45.38 ▲5.19 |
Dashboard /wp-admin | 4.06 ▲0.76 | 57.08 ▲5.50 |
Posts /wp-admin/edit.php | 4.11 ▲0.76 | 60.01 ▲13.46 |
Add New Post /wp-admin/post-new.php | 6.57 ▲0.69 | 91.17 ▲2.41 |
Media Library /wp-admin/upload.php | 3.90 ▲0.67 | 40.77 ▲6.91 |
All Releases /wp-admin/edit.php?post_type=nooz_release | 4.07 | 44.91 |
All Coverage /wp-admin/edit.php?post_type=nooz_coverage | 4.07 | 45.25 |
Settings /wp-admin/admin.php?page=nooz | 3.97 | 39.50 |
Add New Coverage /wp-admin/post-new.php?post_type=nooz_coverage | 4.05 | 51.67 |
Add New Release /wp-admin/post-new.php?post_type=nooz_release | 4.10 | 65.29 |
Server storage [IO: ▲0.26MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 88 new files
Database: no new tables, 38 new options
New WordPress options |
---|
mdnooz_coverage_default_image_url |
mdnooz_release_ending |
mdnooz_upgrade_coverage_post_meta |
mdnooz_shortcode_count |
theysaidso_admin_options |
mdnooz_shortcode_more_link |
mdnooz_plugin_version |
mdnooz_shortcode_date_format |
mdnooz_coverage_slug |
mdnooz_upgrade_post_priority |
... |
Browser metrics Passed 4 tests
Nooz: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,041 ▲306 | 14.82 ▲0.46 | 2.55 ▲0.75 | 43.07 ▼2.59 |
Dashboard /wp-admin | 2,403 ▲215 | 6.46 ▲1.50 | 133.22 ▲28.03 | 38.22 ▼8.17 |
Posts /wp-admin/edit.php | 2,317 ▲228 | 3.50 ▲1.45 | 51.95 ▲11.09 | 30.23 ▼3.89 |
Add New Post /wp-admin/post-new.php | 1,572 ▲39 | 23.45 ▲0.55 | 645.82 ▼24.56 | 36.53 ▼17.14 |
Media Library /wp-admin/upload.php | 1,454 ▲66 | 4.16 ▼0.04 | 79.36 ▼22.19 | 41.12 ▼2.19 |
All Releases /wp-admin/edit.php?post_type=nooz_release | 1,885 | 3.47 | 50.59 | 26.69 |
All Coverage /wp-admin/edit.php?post_type=nooz_coverage | 1,891 | 3.47 | 45.86 | 26.61 |
Settings /wp-admin/admin.php?page=nooz | 1,829 | 3.11 | 44.17 | 26.49 |
Add New Coverage /wp-admin/post-new.php?post_type=nooz_coverage | 2,441 | 3.80 | 68.76 | 32.11 |
Add New Release /wp-admin/post-new.php?post_type=nooz_release | 3,078 | 8.25 | 173.96 | 74.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 38 options in the database
- theysaidso_admin_options
- mdnooz_shortcode_use_more_link
- widget_theysaidso_widget
- mdnooz_release_dateline_format
- mdnooz_shortcode_use_pagination
- mdnooz_shortcode_theme
- mdnooz_coverage_default_image_url
- mdnooz_release_date_format
- mdnooz_release_boilerplate
- mdnooz_upgrade_coverage_post_meta
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/nooz/themes/outline/release.php
- > /wp-content/plugins/nooz/themes/basic/release.php
- > /wp-content/plugins/nooz/themes/outline/taxonomies.php
- 42× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/nooz/themes/outline/ajax_items.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/nooz/themes/basic/parts/post-date.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/nooz/themes/basic/view.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/nooz/themes/basic/post.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'MightyDev\ooz\\Base' not found in wp-content/plugins/nooz/inc/class-release.php:5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/nooz/themes/outline/view.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/nooz/inc/templates/coverage-source-meta.php:6
- > PHP Notice
Undefined variable: data in wp-content/plugins/nooz/themes/outline/pagination.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/nooz/themes/outline/post.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/nooz/themes/basic/theme.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: press coverage, press release, press, media coverage, news...
nooz/nooz.php 92% from 13 tests
Analyzing the main PHP file in "Nooz" version 1.7.0
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin3,599 lines of code in 76 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 219 | 538 | 2,412 |
Sass | 13 | 5 | 5 | 724 |
JavaScript | 8 | 9 | 74 | 270 |
HTML | 4 | 4 | 0 | 189 |
CSS | 4 | 4 | 4 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 28.89 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 138 | |
▷ Static methods | 1 | 0.72% |
▷ Public methods | 112 | 81.16% |
▷ Protected methods | 26 | 18.84% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 17 | 94.44% |
▷ Anonymous functions | 1 | 5.56% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected