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.02MB] [CPU: ▼307.75ms] Passed 4 tests
A check of server-side resources used by Acelerator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 56.39 ▲4.29 |
Dashboard /wp-admin | 3.46 ▲0.06 | 33.43 ▲0.08 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 40.56 ▲5.18 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 92.29 ▼1,235.65 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 24.43 ▲0.29 |
Acelerator /wp-admin/options-general.php?page=acelerator-setting-admin | 3.31 | 22.09 |
Server storage [IO: ▲7.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 376 new files
Database: no new tables, 1 new option
New WordPress options |
---|
acelerator_options |
Browser metrics Passed 4 tests
Acelerator: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,772 ▲30 | 15.90 ▲0.22 | 6.04 ▼0.29 | 2.29 ▼0.53 |
Dashboard /wp-admin | 2,901 ▲40 | 6.24 ▲0.08 | 116.79 ▼22.76 | 154.84 ▼8.27 |
Posts /wp-admin/edit.php | 2,666 ▼28 | 3.27 ▲0.04 | 65.92 ▲2.94 | 141.62 ▲1.72 |
Add New Post /wp-admin/post-new.php | 1,666 ▲5 | 16.02 ▼0.79 | 407.30 ▼26.81 | 152.55 ▲7.24 |
Media Library /wp-admin/upload.php | 1,707 ▲9 | 5.50 ▲0.03 | 139.28 ▼0.06 | 185.07 ▲8.31 |
Acelerator /wp-admin/options-general.php?page=acelerator-setting-admin | 1,045 | 2.37 | 52.23 | 152.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 1 option in the database
- acelerator_options
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
The smoke test was a success, however most plugin functionality was not tested
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #1 is missing in acelerator/assets to your readme.txt
acelerator/acelerator.php Passed 13 tests
The primary PHP file in "Acelerator" version 0.1 is used by WordPress to initiate all plugin functionality
36 characters long description:
Enhance any textarea with ace editor
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin3,169 lines of code in 372 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 369 | 360 | 1 | 2,897 |
PHP | 2 | 26 | 13 | 257 |
Markdown | 1 | 8 | 0 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 5.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin