Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.86ms] Passed 4 tests
An overview of server-side resources used by AATI WP Finetuning
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.70 ▼6.86 |
Dashboard /wp-admin | 3.32 ▲0.01 | 52.54 ▲5.33 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.31 ▲1.19 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.51 ▼11.72 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.41 ▲1.95 |
Server storage [IO: ▲0.22MB] [DB: ▲0.07MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- Illegal file modification detected: 1 file (4.21KB) outside of "wp-content/plugins/aati-wp-finetuning/" and "wp-content/uploads/"
- (modified) wp-config.php
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for AATI WP Finetuning
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 14.48 ▲0.01 | 1.78 ▼0.37 | 38.19 ▼10.97 |
Dashboard /wp-admin | 2,235 ▲47 | 5.80 ▼0.02 | 106.42 ▼9.65 | 41.80 ▼4.97 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.02 ▲0.03 | 34.65 ▼2.61 | 33.27 ▼2.57 |
Add New Post /wp-admin/post-new.php | 1,522 ▼12 | 17.55 ▼5.82 | 626.53 ▼13.57 | 50.97 ▲1.35 |
Media Library /wp-admin/upload.php | 1,397 ▲15 | 4.27 ▲0.05 | 95.37 ▼3.57 | 42.20 ▲1.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.33MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aati-wp-finetuning/includes/admin/aatiwpf_cron.php:72
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (![Screenshot 1](screenshots/screenshot-1.png)), #2 (![Screenshot 2](screenshots/screenshot-2.png))
aati-wp-finetuning/aati-wp-finetuning.php 92% from 13 tests
The main PHP script in "AATI WP Finetuning" version 0.9.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin474 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 26 | 168 | 305 |
PO File | 5 | 25 | 25 | 164 |
CSS | 2 | 0 | 0 | 5 |
HTML | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
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 | 28 | |
▷ Named functions | 25 | 89.29% |
▷ Anonymous functions | 3 | 10.71% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.18MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 5.07KB | 0.18KB | ▼ 96.38% |
screenshots/screenshot-2.png | 32.08KB | 16.06KB | ▼ 49.93% |
assets/icon-256x256.png | 88.64KB | 39.41KB | ▼ 55.54% |
assets/icon-128x128.png | 26.99KB | 12.06KB | ▼ 55.29% |
screenshots/screenshot-1.png | 32.08KB | 16.06KB | ▼ 49.93% |