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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.86ms] Passed 4 tests
Analyzing server-side resources used by Admin IDE Dark Mode
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.08 ▼2.69 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.99 ▼9.79 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.80 ▲1.51 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 88.82 ▼16.47 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 39.14 ▲2.03 |
IDE Theme /wp-admin/options-general.php?page=aidm-admin-form | 3.29 | 35.42 |
Server storage [IO: ▲0.99MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 87 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Admin IDE Dark Mode
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 14.46 ▲0.05 | 1.69 ▲0.04 | 42.45 ▲1.22 |
Dashboard /wp-admin | 2,217 ▲32 | 4.90 ▲0.01 | 99.39 ▼3.73 | 39.62 ▼8.43 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.04 ▲0.05 | 36.07 ▼4.70 | 37.62 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 22.73 ▲4.68 | 638.35 ▲4.74 | 58.71 ▲1.88 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.14 ▼0.18 | 105.90 ▲3.36 | 47.03 ▲5.42 |
IDE Theme /wp-admin/options-general.php?page=aidm-admin-form | 1,787 | 3.44 | 104.05 | 50.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 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
6 plugin tags: plugin file editor, ide, theme file editor, dark mode, codemirror...
admin-ide-dark-mode/admin-ide-dark-mode.php 85% from 13 tests
This is the main PHP file of "Admin IDE Dark Mode" version 2.04, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 142 characters long)
- 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 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin3,182 lines of code in 79 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 67 | 566 | 380 | 2,614 |
PHP | 8 | 106 | 97 | 374 |
JavaScript | 3 | 38 | 23 | 107 |
PO File | 1 | 15 | 18 | 87 |
PHP code Passed 2 tests
An overview of 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.30 |
Average class complexity | 2.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 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
There are no PNG files in this plugin