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.04MB] [CPU: ▼5.71ms] Passed 4 tests
This is a short check of server-side resources used by Editor Cleanup For Oxygen: FDP add-on to cleanup the Oxygen editor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.81 ▼2.56 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.13 ▼3.11 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.65 ▼6.78 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.74 ▼10.40 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.04 ▲1.04 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Just a few items left to fix
- There were 1 file (2.67KB) illegally modified outside of "wp-content/plugins/editor-cleanup-for-oxygen/" and "wp-content/uploads/"
- (new file) wp-content/mu-plugins/fdp-mu-oxygen.php
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Editor Cleanup For Oxygen: FDP add-on to cleanup the Oxygen editor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.67 ▲0.50 | 1.78 ▲0.29 | 39.38 ▼1.47 |
Dashboard /wp-admin | 2,198 ▲27 | 5.57 ▼0.02 | 92.10 ▼2.16 | 43.03 ▲2.65 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.00 ▲0.05 | 40.72 ▼0.22 | 37.34 ▼1.75 |
Add New Post /wp-admin/post-new.php | 1,602 ▲76 | 22.85 ▼0.78 | 621.93 ▲2.31 | 35.25 ▼16.15 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.21 ▲0.01 | 98.73 ▼1.78 | 44.27 ▲1.72 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: performance, conflicts, oxygen, debugging, cleanup
editor-cleanup-for-oxygen/editor-cleanup-for-oxygen.php Passed 13 tests
"Editor Cleanup For Oxygen: FDP add-on to cleanup the Oxygen editor" version 0.0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
47 characters long description:
An FDP add-on to speed up Oxygen in the backend
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin624 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 38 | 73 | 607 |
JavaScript | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
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 | 30 | |
▷ Named functions | 20 | 66.67% |
▷ Anonymous functions | 10 | 33.33% |
Constants | 7 | |
▷ Global constants | 7 | 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 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/oxygen-editor-screen.png | 11.60KB | 11.14KB | ▼ 3.91% |