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
Installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼4.62ms] Passed 4 tests
An overview of server-side resources used by Reusable Admin Panel
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 37.85 ▼0.56 |
Dashboard /wp-admin | 3.51 ▲0.21 | 45.45 ▼4.87 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 45.91 ▼6.32 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 83.84 ▼6.42 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 31.84 ▼0.86 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Reusable Admin Panel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.10 ▼0.53 | 2.05 ▲0.44 | 44.66 ▲7.98 |
Dashboard /wp-admin | 2,195 ▲18 | 5.50 ▼0.10 | 79.64 ▼6.01 | 39.25 ▼3.30 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.01 | 32.40 ▼2.15 | 35.65 ▼1.58 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.13 ▼0.29 | 666.79 ▲2.04 | 66.65 ▲18.53 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.11 ▼0.07 | 97.28 ▲2.07 | 46.22 ▲3.49 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: dev tool, developer tool, beautiful admin, plugin panel, reusable admin panel...
reusable-admin-panel/reusable-admin-panel.php Passed 13 tests
Analyzing the main PHP file in "Reusable Admin Panel" version 1.0.5
120 characters long description:
A settings class to help developers easily add beautiful admin pages and handle getting, sanitizing, and saving options.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected959 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 94 | 281 | 520 |
CSS | 5 | 52 | 33 | 230 |
JavaScript | 5 | 51 | 51 | 209 |
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.30 |
Average class complexity | 102.00 |
▷ Minimum class complexity | 102.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 5.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up 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 |
img/logo.png | 4.55KB | 1.71KB | ▼ 62.38% |