Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.85ms] Passed 4 tests
Server-side resources used by Rockon All in One Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 41.84 ▲0.93 |
Dashboard /wp-admin | 3.40 ▲0.09 | 52.68 ▼4.61 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 48.53 ▲3.96 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 86.62 ▼23.68 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 40.50 ▲8.90 |
Rockon All in One /wp-admin/admin.php?page=raio_main_menu | 3.29 | 34.57 |
Settings & Shortcode /wp-admin/admin.php?page=raio_manage_setting | 3.29 | 33.92 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 16 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
This is an overview of browser requirements for Rockon All in One Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲116 | 14.77 ▲0.39 | 2.04 ▲0.21 | 43.81 ▼1.11 |
Dashboard /wp-admin | 2,237 ▲46 | 4.89 ▼0.00 | 107.99 ▲3.36 | 44.03 ▲5.47 |
Posts /wp-admin/edit.php | 2,123 ▲31 | 1.99 ▲0.03 | 40.42 ▼0.09 | 36.03 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,554 ▲12 | 23.20 ▲4.91 | 726.25 ▲104.60 | 53.67 ▲0.45 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.23 ▲0.02 | 93.36 ▼12.12 | 44.27 ▲0.35 |
Rockon All in One /wp-admin/admin.php?page=raio_main_menu | 861 | 2.02 | 22.84 | 46.53 |
Settings & Shortcode /wp-admin/admin.php?page=raio_manage_setting | 879 | 2.03 | 25.25 | 40.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/rockon-all-in-one/rockon-all-in-one.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rockon-all-in-one/inc/raio_comment_fun.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rockon-all-in-one/inc/raio_function.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Setting tab (On this section showing the move script footer & disable comment options).), #2 (Breadcrumb tab.), #3 (add Script header & footer option.), #4 (Available short-code.), #5 (Front-end default breadcrumb output.)
rockon-all-in-one/rockon-all-in-one.php 92% from 13 tests
The primary PHP file in "Rockon All in One Plugin" version 3.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 185 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected539 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 86 | 59 | 478 |
CSS | 2 | 9 | 0 | 61 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.23MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/rockon-vs-hand-logo.png | 18.44KB | 10.92KB | ▼ 40.80% |
screenshot-2.png | 27.18KB | 10.02KB | ▼ 63.15% |
screenshot-5.png | 2.23KB | 1.77KB | ▼ 20.78% |
screenshot-1.png | 123.84KB | 39.76KB | ▼ 67.89% |
screenshot-3.png | 31.21KB | 11.46KB | ▼ 63.27% |