Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼181.74ms] Passed 4 tests
Server-side resources used by Reimagined Admin Theme
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.07 | 28.99 ▼0.17 |
Dashboard /wp-admin | 3.14 ▲0.07 | 36.96 ▼4.54 |
Posts /wp-admin/edit.php | 3.23 ▲0.12 | 40.19 ▲7.00 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.06 | 76.16 ▼724.73 |
Media Library /wp-admin/upload.php | 3.09 ▲0.08 | 28.87 ▲2.50 |
Reimagined /wp-admin/themes.php?page=reimagined_admin | 3.06 | 24.12 |
Server storage [IO: ▲7.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 58 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Reimagined Admin Theme: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,651 ▲50 | 16.30 ▲0.65 | 8.65 ▲2.08 | 88.32 ▲6.33 |
Dashboard /wp-admin | 2,933 ▲34 | 6.25 ▲0.08 | 120.86 ▼12.26 | 80.25 ▼100.02 |
Posts /wp-admin/edit.php | 2,749 ▲9 | 3.29 ▲0.07 | 70.43 ▲7.16 | 73.57 ▼66.83 |
Add New Post /wp-admin/post-new.php | 2,307 ▼1,391 | 16.27 ▼1.30 | 424.64 ▼11.00 | 168.70 ▲7.05 |
Media Library /wp-admin/upload.php | 1,752 ▼0 | 5.70 ▲0.19 | 153.62 ▲3.86 | 147.66 ▼33.75 |
Reimagined /wp-admin/themes.php?page=reimagined_admin | 1,505 | 2.97 | 61.64 | 69.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reimagined-admin/reimagined-admin.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #4, #5, #6, #7 in reimagined-admin/assets to your readme.txt
reimagined-admin/reimagined-admin.php Passed 13 tests
The entry point to "Reimagined Admin Theme" version 1.0 is a PHP file that has certain tags in its header comment area
34 characters long description:
A Reimagined WordPress Admin Theme
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
Good job! No executable or dangerous file extensions detected8,719 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 1,664 | 1,346 | 6,670 |
CSS | 7 | 183 | 63 | 1,199 |
PHP | 1 | 51 | 28 | 341 |
HTML | 1 | 23 | 4 | 259 |
SVG | 1 | 0 | 0 | 250 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
29 PNG files occupy 4.90MB with 2.85MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
docs/assets/images/adminbackground.png | 13.18KB | 7.26KB | ▼ 44.93% |
docs/assets/images/ablogo.png | 51.59KB | 17.36KB | ▼ 66.34% |
screenshots/01_preview7.png | 164.89KB | 88.69KB | ▼ 46.21% |
docs/assets/images/rename.png | 53.94KB | 16.57KB | ▼ 69.29% |
screenshots/01_preview2.png | 457.10KB | 165.15KB | ▼ 63.87% |