Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.00ms] Passed 4 tests
An overview of server-side resources used by Bootstrap Admin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 38.52 ▼3.74 |
Dashboard /wp-admin | 3.29 ▼0.01 | 50.87 ▼1.57 |
Posts /wp-admin/edit.php | 3.34 ▼0.01 | 48.31 ▼3.19 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.38 ▼19.50 |
Media Library /wp-admin/upload.php | 3.21 ▼0.01 | 39.54 ▲9.75 |
Server storage [IO: ▲1.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 74 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Bootstrap Admin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,743 ▼3 | 13.54 ▼0.84 | 1.66 ▼0.00 | 55.86 ▲12.79 |
Dashboard /wp-admin | 2,147 ▼41 | 5.34 ▼0.54 | 104.93 ▼6.92 | 30.56 ▼7.43 |
Posts /wp-admin/edit.php | 2,055 ▼34 | 2.68 ▲0.63 | 38.72 ▲2.10 | 21.88 ▼12.74 |
Add New Post /wp-admin/post-new.php | 1,695 ▲176 | 23.00 ▼0.20 | 593.78 ▼98.51 | 64.03 ▲8.59 |
Media Library /wp-admin/upload.php | 1,339 ▼46 | 4.46 ▲0.26 | 101.51 ▼12.38 | 37.62 ▼7.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bootstrap-admin/bootstrap-admin.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (The Dashboard with the submenu popovers visible), #2 (New Post screenshot)
bootstrap-admin/bootstrap-admin.php Passed 13 tests
The principal PHP file in "Bootstrap Admin" v. 1.16.2 is loaded by WordPress automatically on each request
21 characters long description:
Bootstrap 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 detected22,047 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 66 | 63 | 10,132 |
LESS | 43 | 885 | 968 | 5,953 |
PHP | 3 | 578 | 359 | 2,547 |
JavaScript | 8 | 186 | 53 | 1,885 |
HTML | 3 | 174 | 74 | 1,219 |
SVG | 1 | 0 | 0 | 285 |
Markdown | 1 | 9 | 0 | 26 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 124.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 316.00 |
Average method complexity | 4.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 4 | 2.56% |
▷ Public methods | 28 | 17.95% |
▷ Protected methods | 128 | 82.05% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.22MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/chosen/chosen-sprite.png | 0.55KB | 0.70KB | 0.00% |
assets/img/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |
assets/img/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
screenshot-1.png | 127.10KB | 46.61KB | ▼ 63.32% |
screenshot-2.png | 81.33KB | 30.78KB | ▼ 62.15% |