Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.38ms] Passed 4 tests
This is a short check of server-side resources used by Robots Meta Whiz
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.15 ▼4.87 |
Dashboard /wp-admin | 3.35 ▲0.05 | 54.06 ▲1.12 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 53.36 ▼0.99 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.39 ▼16.77 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.95 ▲4.04 |
Robots Meta Whiz /wp-admin/options-general.php?page=plugin_RobotsWhiz_settings | 3.27 | 35.97 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Robots Meta Whiz
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.66 ▲0.28 | 1.84 ▼0.11 | 42.90 ▼1.82 |
Dashboard /wp-admin | 2,213 ▲25 | 5.95 ▲1.05 | 105.64 ▲0.30 | 42.79 ▲1.22 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.00 | 36.99 ▲1.19 | 35.97 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.41 ▼5.75 | 645.10 ▼80.89 | 50.75 ▼9.47 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.24 ▲0.04 | 96.64 ▼10.44 | 43.67 ▼0.97 |
Robots Meta Whiz /wp-admin/options-general.php?page=plugin_RobotsWhiz_settings | 966 | 2.27 | 36.72 | 36.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/robotswhiz/src/robotswhiz/RobotsWhiz.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/robotswhiz/RobotsWhiz.php:69
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (Robots Meta Whiz configuration screen.)
robotswhiz/RobotsWhiz.php 85% from 13 tests
This is the main PHP file of "Robots Meta Whiz" version 1.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("robotswhiz.php" instead of "RobotsWhiz.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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
No dangerous file extensions were detected850 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSX | 1 | 139 | 39 | 524 |
PHP | 1 | 59 | 43 | 232 |
JSON | 1 | 0 | 0 | 51 |
JavaScript | 3 | 27 | 60 | 43 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 1 | |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin