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
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼142.57ms] Passed 4 tests
Server-side resources used by Rocket Reader (Speed-Reader)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 36.67 ▲16.78 |
Dashboard /wp-admin | 3.11 ▲0.05 | 43.19 ▼5.78 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 43.16 ▼4.89 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 89.23 ▼564.60 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 38.37 ▲4.98 |
Rocket Reader /wp-admin/options-general.php?page=rr_settings | 3.07 | 30.32 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 1 new option
New WordPress options |
---|
rr_options |
Browser metrics Passed 4 tests
Checking browser requirements for Rocket Reader (Speed-Reader)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,884 ▲288 | 16.97 ▲1.39 | 20.15 ▲10.18 | 47.56 ▲0.15 |
Dashboard /wp-admin | 2,977 ▲43 | 5.89 ▼0.02 | 145.27 ▼14.54 | 105.43 ▼4.20 |
Posts /wp-admin/edit.php | 2,746 ▲7 | 2.73 ▲0.01 | 64.85 ▼3.59 | 88.14 ▲4.11 |
Add New Post /wp-admin/post-new.php | 1,877 ▲377 | 19.16 ▲0.66 | 373.88 ▼9.48 | 111.37 ▼5.61 |
Media Library /wp-admin/upload.php | 1,814 ▲7 | 5.06 ▲0.02 | 156.26 ▼9.20 | 117.13 ▲3.98 |
Rocket Reader /wp-admin/options-general.php?page=rr_settings | 1,336 | 2.16 | 59.38 | 73.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 1 option in the database
- rr_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rocket-reader-speed-reader/rvg-rocket-reader.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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: 11 tag instead of maximum 10
rocket-reader-speed-reader/rvg-rocket-reader.php 92% from 13 tests
The main PHP script in "Rocket Reader (Speed-Reader)" version 1.6.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("rocket-reader-speed-reader.php" instead of "rvg-rocket-reader.php")
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
Good job! No executable or dangerous file extensions detected765 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 51 | 99 | 334 |
JavaScript | 2 | 55 | 102 | 208 |
CSS | 4 | 1 | 16 | 121 |
PO File | 1 | 44 | 59 | 102 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin