Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.76MB] [CPU: ▲38.09ms] Passed 4 tests
Server-side resources used by ๐ Space Admin Theme
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.70 | 51.48 ▲11.01 |
Dashboard /wp-admin | 4.12 ▲0.82 | 97.57 ▲46.33 |
Posts /wp-admin/edit.php | 4.17 ▲0.81 | 90.77 ▲45.74 |
Add New Post /wp-admin/post-new.php | 6.66 ▲0.77 | 143.70 ▲50.73 |
Media Library /wp-admin/upload.php | 4.01 ▲0.78 | 80.41 ▲49.28 |
๐ Column Manager /wp-admin/tools.php?page=space-admin-column-manager | 3.99 | 75.38 |
๐ Menu Manager /wp-admin/tools.php?page=space-admin-menu-editor | 3.99 | 82.26 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 3.91 | 51.46 |
๐ Widget Manager /wp-admin/tools.php?page=space-admin-widget-manager | 4.00 | 65.71 |
๐ Admin Theme /wp-admin/themes.php?page=space-options-general | 4.02 | 66.83 |
/wp-admin/themes.php?page= | 3.98 | 62.51 |
Server storage [IO: ▲0.50MB] [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: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for ๐ Space Admin Theme
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,731 ▼4 | 14.50 ▼0.12 | 1.90 ▼0.20 | 57.73 ▲6.42 |
Dashboard /wp-admin | 2,140 ▼48 | 5.02 ▼0.89 | 104.04 ▼11.07 | 57.38 ▲12.32 |
Posts /wp-admin/edit.php | 2,049 ▼40 | 2.47 ▲0.44 | 49.51 ▲13.20 | 48.72 ▲15.83 |
Add New Post /wp-admin/post-new.php | 1,504 ▼16 | 23.30 ▲0.18 | 663.19 ▲1.62 | 62.54 ▲12.54 |
Media Library /wp-admin/upload.php | 1,333 ▼52 | 4.36 ▲0.06 | 113.73 ▲11.16 | 59.72 ▲16.44 |
๐ Column Manager /wp-admin/tools.php?page=space-admin-column-manager | 1,139 | 2.12 | 44.18 | 49.59 |
๐ Menu Manager /wp-admin/tools.php?page=space-admin-menu-editor | 6,744 | 2.38 | 49.10 | 75.12 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 31 | 0.44 | 0.06 | 8.37 |
๐ Widget Manager /wp-admin/tools.php?page=space-admin-widget-manager | 1,120 | 2.06 | 30.43 | 42.42 |
๐ Admin Theme /wp-admin/themes.php?page=space-options-general | 1,463 | 3.47 | 58.81 | 69.40 |
/wp-admin/themes.php?page= | 736 | 1.86 | 29.02 | 32.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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
Please fix the following items
- 19× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/space-admin-theme/inc/menus.php on line 3
- > PHP Notice
Undefined variable: page_info in wp-content/plugins/space-admin-theme/inc/network.php on line 3
- > PHP Notice
Undefined variable: page_info in wp-content/plugins/space-admin-theme/inc/general.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/space-admin-theme/inc/widgets.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/space-admin-theme/inc/columns.php:15
- > PHP Notice
Undefined variable: page_info in wp-content/plugins/space-admin-theme/inc/menus.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/space-admin-theme/inc/general.php:16
- > PHP Notice
Undefined variable: page_info in wp-content/plugins/space-admin-theme/inc/widgets.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/space-admin-theme/inc/general.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/space-admin-theme/inc/network.php on line 3
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit-tags.php?taxonomy=link_category
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=link_category - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/themes.php?page=space-options-general
- > Network (severe)
https://pluginsbay.com/wp-content/uploads/2019/07/5-star-review.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (23 tag instead of maximum 10)
space-admin-theme/index.php 92% from 13 tests
The main file in "๐ Space Admin Theme" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("space-admin-theme.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin10,030 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 271 | 41 | 5,529 |
PHP | 20 | 801 | 209 | 4,090 |
JavaScript | 2 | 144 | 41 | 411 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 44.58 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 5.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 107 | 100.00% |
▷ Public methods | 107 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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 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.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/5-star-review.png | 18.43KB | 9.59KB | ▼ 47.94% |