Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.77MB] [CPU: ▼31.65ms] Passed 4 tests
Analyzing server-side resources used by nemo Frame
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 36.32 ▼6.25 |
Dashboard /wp-admin | 3.17 ▼0.13 | 23.56 ▼24.29 |
Posts /wp-admin/edit.php | 3.17 ▼0.18 | 25.38 ▼24.23 |
Add New Post /wp-admin/post-new.php | 3.17 ▼2.71 | 24.83 ▼65.13 |
Media Library /wp-admin/upload.php | 3.17 ▼0.06 | 22.03 ▼12.95 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
anh_notices |
widget_recent-comments |
widget_theysaidso_widget |
nemoframe_settings |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
nemo Frame: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,991 ▲245 | 13.80 ▼0.56 | 7.15 ▲5.33 | 38.20 ▼0.92 |
Dashboard /wp-admin | 2,214 ▲26 | 5.08 ▲0.18 | 112.39 ▼0.32 | 36.90 ▼7.81 |
Posts /wp-admin/edit.php | 2,100 ▲8 | 2.27 ▲0.28 | 40.41 ▲0.19 | 34.45 ▼2.80 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.43 ▲5.68 | 682.54 ▼8.50 | 71.74 ▲15.30 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.33 ▲0.15 | 97.63 ▲1.32 | 40.12 ▼2.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'my_plugin_menu' not found or invalid function name
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- anh_notices
- nemoframe_settings
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/nemo-frame/bootstrap.php
- > /wp-content/plugins/nemo-frame/views/nemoframe-settings/page-settings-fields.php
- > /wp-content/plugins/nemo-frame/includes/admin-notice-helper/admin-notice-helper.php
- 20× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Use of undefined constant WPPS_REQUIRED_PHP_VERSION - assumed 'WPPS_REQUIRED_PHP_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/nemo-frame/views/requirements-error.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/nemo-frame/views/requirements-error.php:12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/nemo-frame/views/nemoframe-settings/page-settings-fields.php on line 26
- > PHP Fatal error
Uncaught Error: Class 'NEMOFRAME_Module' not found in wp-content/plugins/nemo-frame/classes/nemoframe-settings.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/nemo-frame/includes/admin-notice-helper/admin-notice.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/nemo-frame/views/nemoframe-settings/page-settings-fields.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/nemo-frame/views/nemoframe.php:1
- > PHP Notice
Undefined variable: field in wp-content/plugins/nemo-frame/views/nemoframe-settings/page-settings-fields.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/nemo-frame/views/nemoframe-settings/page-settings.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/nemo-frame/views/nemoframe-settings/page-settings-section-headers.php on line 5
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: nemolade, shortcode, frame, image, nemoframe...
nemo-frame/bootstrap.php 92% from 13 tests
The main PHP script in "nemo Frame" version 1.0.5 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("nemo-frame.php" instead of "bootstrap.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected715 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 219 | 613 | 677 |
JavaScript | 1 | 8 | 14 | 19 |
Markdown | 1 | 7 | 0 | 19 |
CSS | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 10.17 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 2 | 33.33% |
▷ Concrete classes | 4 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 19 | 27.54% |
▷ Public methods | 52 | 75.36% |
▷ Protected methods | 16 | 23.19% |
▷ Private methods | 1 | 1.45% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 3 | 42.86% |
▷ Class constants | 4 | 57.14% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/blank.png | 0.27KB | 0.10KB | ▼ 61.68% |