Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/rognone/rognone.php+131
Methods with the same name as their class will not be constructors in a future version of PHP; rognone has a deprecated constructor
Server metrics [RAM: ▼1.71MB] [CPU: ▼186.93ms] Passed 4 tests
This is a short check of server-side resources used by rognone
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.92 ▼0.80 | 6.00 ▼13.57 |
Dashboard /wp-admin | 1.94 ▼1.12 | 5.19 ▼39.05 |
Posts /wp-admin/edit.php | 1.94 ▼1.17 | 6.26 ▼34.68 |
Add New Post /wp-admin/post-new.php | 1.94 ▼3.50 | 6.95 ▼645.43 |
Media Library /wp-admin/upload.php | 1.94 ▼1.07 | 6.52 ▼28.57 |
Rognone /wp-admin/options-general.php?page=rognone | 1.94 | 6.17 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 109 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
rognone: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 16.20 ▲0.12 | 8.28 ▼3.11 | 51.67 ▲1.39 |
Dashboard /wp-admin | 2,978 ▲47 | 6.11 ▲0.19 | 145.22 ▼2.06 | 109.91 ▼2.99 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▼0.00 | 58.64 ▼6.06 | 90.75 ▲3.67 |
Add New Post /wp-admin/post-new.php | 1,675 ▼8 | 18.83 ▲0.04 | 380.90 ▲8.42 | 107.44 ▼5.98 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.03 ▼0.02 | 141.27 ▼5.07 | 116.09 ▼2.73 |
Rognone /wp-admin/options-general.php?page=rognone | 1,395 | 2.09 | 60.14 | 104.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/rognone/rognone.php+131
Methods with the same name as their class will not be constructors in a future version of PHP; rognone has a deprecated constructor
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=rognone
- > Deprecated in wp-content/plugins/rognone/rognone.php+131
Methods with the same name as their class will not be constructors in a future version of PHP; rognone has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=rognone
- > Deprecated in wp-content/plugins/rognone/uagent_info.php+43
Methods with the same name as their class will not be constructors in a future version of PHP; uagent_info has a deprecated constructor
SRP 50% from 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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/rognone/header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/rognone/rognone.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (A spiral view with many many posts...), #2 (A spiral view with many texts posts), #3 (A less crowded view), #4 (Interface of the TV-like post visualizer)
- Plugin Name: Please specify the plugin name on the first line (
=== rognone ===
)
rognone/rognone.php 92% from 13 tests
The main PHP file in "rognone" ver. 0.6.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 225 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin7,193 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 23 | 576 | 1,701 | 3,938 |
CSS | 3 | 102 | 120 | 1,723 |
PHP | 3 | 197 | 288 | 1,075 |
SVG | 1 | 0 | 0 | 361 |
Markdown | 1 | 58 | 0 | 96 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 93.50 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 132.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 68 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
70 PNG files occupy 0.12MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jqui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png | 0.27KB | 0.11KB | ▼ 56.99% |
imgs/nero25perc.png | 0.15KB | 0.09KB | ▼ 37.91% |
imgs/nero95perc.png | 0.15KB | 0.09KB | ▼ 37.91% |
imgs/bianco95perc.png | 0.15KB | 0.09KB | ▼ 38.31% |
imgs/nero75perc.png | 0.15KB | 0.09KB | ▼ 37.91% |