Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▼12.90ms] Passed 4 tests
This is a short check of server-side resources used by AE Admin Customizer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.03 ▲0.56 | 47.67 ▲6.40 |
Dashboard /wp-admin | 3.78 ▲0.43 | 38.56 ▼26.95 |
Posts /wp-admin/edit.php | 3.90 ▲0.53 | 43.94 ▼6.77 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 81.05 ▼22.51 |
Media Library /wp-admin/upload.php | 3.75 ▲0.52 | 41.97 ▲4.65 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for AE Admin Customizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,988 ▲227 | 14.87 ▲0.70 | 1.78 ▼0.08 | 56.82 ▲14.97 |
Dashboard /wp-admin | 2,425 ▲248 | 6.43 ▲0.79 | 119.18 ▲23.06 | 113.49 ▲67.29 |
Posts /wp-admin/edit.php | 2,308 ▲211 | 3.58 ▲1.54 | 60.20 ▲21.43 | 82.88 ▲47.20 |
Add New Post /wp-admin/post-new.php | 1,723 ▲191 | 22.56 ▼0.63 | 642.34 ▼8.34 | 45.58 ▼10.07 |
Media Library /wp-admin/upload.php | 1,451 ▲51 | 4.32 ▲0.19 | 95.85 ▼17.98 | 103.80 ▲53.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
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
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: login, wp-admin, branding, customize, admin-customizer...
ae-admin-customizer/ae-admin-customizer.php 92% from 13 tests
The main file in "AE Admin Customizer" v. 1.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 199 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected2,781 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 523 | 622 | 2,038 |
PO File | 2 | 212 | 244 | 515 |
CSS | 1 | 34 | 2 | 154 |
JavaScript | 2 | 19 | 5 | 74 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 56.83 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 99 | |
▷ Static methods | 87 | 87.88% |
▷ Public methods | 99 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/no-image.png | 2.38KB | 2.40KB | 0.00% |
assets/image/icon.png | 3.72KB | 1.08KB | ▼ 71.09% |
assets/image/appdevph-logo.png | 3.45KB | 2.20KB | ▼ 36.14% |