Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.82ms] Passed 4 tests
A check of server-side resources used by Style Admin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 36.80 ▼1.76 |
Dashboard /wp-admin | 3.38 ▲0.03 | 51.71 ▼8.01 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.71 ▼4.30 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 81.65 ▼17.22 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 36.16 ▲4.30 |
Style Admin /wp-admin/themes.php?page=style-admin-options | 3.26 | 29.79 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Style Admin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.34 ▼0.18 | 1.68 ▲0.13 | 39.98 ▼1.65 |
Dashboard /wp-admin | 2,196 ▲19 | 5.55 ▼0.01 | 82.84 ▼4.41 | 38.36 ▼0.62 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.17 | 34.35 ▼6.27 | 35.51 ▼1.26 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.28 ▲5.28 | 662.65 ▲64.78 | 55.09 ▼9.92 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.19 ▼0.02 | 94.78 ▼1.23 | 46.50 ▲1.78 |
Style Admin /wp-admin/themes.php?page=style-admin-options | 2,038 | 3.01 | 81.92 | 27.70 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 44 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=style-admin-options
- > Notice in wp-content/plugins/style-admin/styleAdmin.php+409
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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 just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% 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
9 plugin tags: login, admin, custom, dashboard, formatting...
style-admin/styleAdmin.php 92% from 13 tests
Analyzing the main PHP file in "Style Admin" version 1.4.3
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("style-admin.php" instead of "styleAdmin.php")
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
Success! There were no dangerous files found in this plugin409 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 73 | 107 | 339 |
CSS | 1 | 8 | 4 | 45 |
JavaScript | 2 | 7 | 2 | 25 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 5.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin