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
Install script ran successfully
Server metrics [RAM: ▲4.64MB] [CPU: ▲26.24ms] Passed 4 tests
An overview of server-side resources used by Bootitems Core
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.49 ▲5.03 | 65.32 ▲22.66 |
Dashboard /wp-admin | 8.51 ▲5.21 | 72.20 ▲19.71 |
Posts /wp-admin/edit.php | 8.51 ▲5.15 | 72.88 ▲27.10 |
Add New Post /wp-admin/post-new.php | 9.06 ▲3.17 | 127.77 ▲35.49 |
Media Library /wp-admin/upload.php | 8.51 ▲5.28 | 70.72 ▲36.22 |
Freemius Debug [v.2.4.4] /wp-admin/admin.php?page=freemius | 8.51 | 51.45 |
Server storage [IO: ▲3.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 196 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
fs_active_plugins |
fs_debug_mode |
widget_theysaidso_widget |
fs_gdpr |
widget_recent-comments |
db_upgraded |
fs_accounts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Bootitems Core
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.24 ▼1.04 | 1.84 ▲0.12 | 28.68 ▼11.20 |
Dashboard /wp-admin | 2,239 ▲53 | 4.85 ▼0.10 | 112.17 ▲6.72 | 44.48 ▲4.47 |
Posts /wp-admin/edit.php | 2,122 ▲30 | 2.00 ▲0.01 | 43.55 ▼3.59 | 39.16 ▲4.47 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 18.23 ▼0.19 | 622.69 ▲20.19 | 55.28 ▼3.36 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.22 ▲0.09 | 96.84 ▼1.53 | 43.54 ▼0.59 |
Freemius Debug [v.2.4.4] /wp-admin/admin.php?page=freemius | 1,078 | 1.71 | 24.03 | 27.72 |
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
- This plugin does not fully uninstall, leaving 10 options in the database
- theysaidso_admin_options
- fs_accounts
- can_compress_scripts
- fs_active_plugins
- widget_recent-comments
- db_upgraded
- fs_debug_mode
- widget_theysaidso_widget
- fs_gdpr
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bootitems-core/inc/customizer.php
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function bc_fs() in wp-content/plugins/bootitems-core/inc/bootitems-widgets.php:4
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/bootitems-core/inc/menu/bootitems_walker.php:11
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/bootitems-core/inc/menu/bootitems_edit_walker.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function bc_fs() in wp-content/plugins/bootitems-core/inc/menu/bootitems-megamenu.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function bc_fs() in wp-content/plugins/bootitems-core/inc/widgets/contact-info.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/bootitems-core/inc/dashboard/dashboard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function bc_fs() in wp-content/plugins/bootitems-core/inc/functions.php:89
- > PHP Fatal error
Uncaught Error: Call to undefined function bc_fs() in wp-content/plugins/bootitems-core/inc/widgets/about-info.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function bc_fs() in wp-content/plugins/bootitems-core/inc/widgets/recent-posts.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function bc_fs() in wp-content/plugins/bootitems-core/inc/widgets/social-profiles.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: content, demo, template, import, bootitems core...
bootitems-core/bootitems-core.php 92% from 13 tests
The principal PHP file in "Bootitems Core" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 194 characters long)
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin32,366 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 7,634 | 16,698 | 31,750 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 5 | 38 | 113 | 200 |
CSS | 12 | 2 | 4 | 175 |
JSON | 1 | 0 | 0 | 27 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 2,911)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 69.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 61 | |
▷ Abstract classes | 2 | 3.28% |
▷ Concrete classes | 59 | 96.72% |
▷ Final classes | 0 | 0.00% |
Methods | 1,199 | |
▷ Static methods | 178 | 14.85% |
▷ Public methods | 852 | 71.06% |
▷ Protected methods | 15 | 1.25% |
▷ Private methods | 332 | 27.69% |
Functions | 109 | |
▷ Named functions | 109 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 127 | |
▷ Global constants | 102 | 80.31% |
▷ Class constants | 25 | 19.69% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |