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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▲0.51ms] Passed 4 tests
Analyzing server-side resources used by PIO - Express
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 48.25 ▲3.73 |
Dashboard /wp-admin | 3.41 ▲0.11 | 60.85 ▲7.79 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 55.91 ▲2.02 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 96.71 ▼7.97 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 40.95 ▲4.25 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for PIO - Express
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 13.28 ▼1.37 | 2.00 ▲0.28 | 43.51 ▼3.21 |
Dashboard /wp-admin | 2,246 ▲58 | 5.12 ▲0.24 | 102.23 ▼13.01 | 83.44 ▲38.93 |
Posts /wp-admin/edit.php | 2,150 ▲61 | 2.30 ▲0.29 | 38.67 ▲2.45 | 36.58 ▼2.08 |
Add New Post /wp-admin/post-new.php | 1,717 ▲203 | 22.42 ▲4.90 | 773.87 ▲78.69 | 38.16 ▼19.76 |
Media Library /wp-admin/upload.php | 1,506 ▲118 | 4.37 ▼0.03 | 102.25 ▲1.14 | 85.02 ▲41.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
The following issues need your attention
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pio-express/includes/admin-menu.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/pio-express/includes/manage-login-page.php:173
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pio-express/includes/admin-bar.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pio-express/includes/manage-api.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/pio-express/plugin.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: You are using too many tags: 17 tag instead of maximum 10
- Screenshots: Please describe screenshot #6 in pio-express/assets to your readme.txt
pio-express/plugin.php 77% from 13 tests
The primary PHP file in "PIO - Express" version 2.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 215 characters long)
- Requires PHP: Required version number should only contain digits separated by dots (ex. "7.0" instead of "7.0 or higher")
- Main file name: Name the main plugin file the same as the plugin slug ("pio-express.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin754 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 95 | 48 | 538 |
CSS | 1 | 28 | 3 | 154 |
JavaScript | 1 | 8 | 3 | 53 |
SVG | 2 | 0 | 0 | 9 |
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.69 |
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 | 20 | |
▷ Named functions | 19 | 95.00% |
▷ Anonymous functions | 1 | 5.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin