Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Rollerblade::activate() should not be called statically
Server metrics [RAM: ▲0.09MB] [CPU: ▼9.40ms] Passed 4 tests
Analyzing server-side resources used by Rollerblade
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 41.79 ▲0.13 |
Dashboard /wp-admin | 3.41 ▲0.06 | 47.68 ▼24.16 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 51.27 ▲2.97 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 83.45 ▼15.15 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.91 ▲1.60 |
Rollerblade /wp-admin/options-general.php?page=rollerblade | 3.30 | 32.72 |
Server storage [IO: ▲1.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rollerblade
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲37 | 13.25 ▼0.99 | 1.74 ▼0.16 | 41.93 ▼0.94 |
Dashboard /wp-admin | 2,209 ▲21 | 4.84 ▼0.00 | 109.33 ▼6.61 | 39.68 ▼1.59 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.03 ▲0.00 | 41.31 ▲4.74 | 35.88 ▲1.58 |
Add New Post /wp-admin/post-new.php | 1,520 ▼13 | 23.02 ▼0.26 | 666.55 ▲65.41 | 51.50 ▼4.12 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.16 ▼0.04 | 98.24 ▼3.88 | 43.27 ▲1.20 |
Rollerblade /wp-admin/options-general.php?page=rollerblade | 972 | 2.09 | 25.92 | 32.70 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: There are too many tags (13 tag instead of maximum 10)
rollerblade-app/rollerblade.php 69% from 13 tests
"Rollerblade" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("rollerblade-app.php" instead of "rollerblade.php")
- Domain Path: The domain path folder does not exist ("/lang/")
- Description: Please don't use more than 140 characters for the plugin description (currently 174 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin10,495 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 7 | 7 | 5 | 4,679 |
JavaScript | 3 | 1,223 | 152 | 3,300 |
CSS | 3 | 211 | 53 | 2,063 |
PHP | 1 | 399 | 126 | 453 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 13 | |
▷ Static methods | 11 | 84.62% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 15.38% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
11 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/cb-dots.png | 14.38KB | 0.28KB | ▼ 98.08% |
img/comment-box-close-sprite.png | 14.83KB | 0.38KB | ▼ 97.42% |
css/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
img/rb-icon-white.png | 2.13KB | 1.39KB | ▼ 34.56% |
img/rb-remote-panel-button.png | 1.09KB | 0.48KB | ▼ 55.88% |