Benchmarks
Plugin footprint 82% 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.01MB] [CPU: ▼316.90ms] Passed 4 tests
Analyzing server-side resources used by Advanced Speed Increaser
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 58.16 ▲4.81 |
Dashboard /wp-admin | 3.43 ▲0.02 | 35.64 ▼16.05 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 40.35 ▲2.12 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 97.48 ▼1,249.43 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 24.48 ▼4.22 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please try to fix the following items
- You have illegally modified 1 file (2.41KB) outside of "wp-content/plugins/advanced-speed-increaser/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
tw_asi_status |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Speed Increaser
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,785 ▲31 | 15.85 ▲0.19 | 6.28 ▲0.00 | 2.21 ▼1.12 |
Dashboard /wp-admin | 2,910 ▲52 | 6.19 ▲0.05 | 123.19 ▼31.24 | 238.38 ▲66.68 |
Posts /wp-admin/edit.php | 2,707 ▲16 | 2.92 ▼0.31 | 66.26 ▼1.58 | 146.78 ▼2.55 |
Add New Post /wp-admin/post-new.php | 1,676 ▲15 | 19.45 ▼2.83 | 409.01 ▲0.88 | 206.46 ▲36.97 |
Media Library /wp-admin/upload.php | 1,715 ▲17 | 5.51 ▲0.01 | 142.52 ▼8.48 | 213.25 ▲25.25 |
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
- The uninstall procedure has failed, leaving 1 option in the database
- tw_asi_status
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/advanced-speed-increaser/admin-setting.php:62
- > PHP Notice
Undefined variable: settings_status in wp-content/plugins/advanced-speed-increaser/admin-setting.php on line 55
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/advanced-speed-increaser/advanced-speed-increaser.php:16
- > 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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 require attention:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
advanced-speed-increaser/advanced-speed-increaser.php 92% from 13 tests
The principal PHP file in "Advanced Speed Increaser" v. 2.2.1 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 249 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin338 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 43 | 17 | 330 |
CSS | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon20x20.png | 3.09KB | 0.64KB | ▼ 79.37% |