Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.73ms] Passed 4 tests
A check of server-side resources used by Themebeez Toolkit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 42.01 ▼1.98 |
Dashboard /wp-admin | 4.80 ▲1.49 | 47.65 ▲3.45 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 48.46 ▼0.11 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 87.25 ▼16.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.65 ▼0.74 |
Server storage [IO: ▲1.62MB] [DB: ▲0.37MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 102 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Themebeez Toolkit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲175 | 13.53 ▼1.12 | 1.76 ▼0.37 | 43.22 ▼5.27 |
Dashboard /wp-admin | 2,341 ▲150 | 4.92 ▼0.98 | 105.55 ▲5.44 | 37.50 ▼2.93 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.03 | 36.75 ▼3.39 | 30.90 ▼3.75 |
Add New Post /wp-admin/post-new.php | 1,518 ▼24 | 23.39 ▲5.30 | 663.59 ▲63.63 | 48.13 ▼10.51 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▼0.02 | 106.92 ▲9.21 | 46.36 ▲1.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.37MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/themebeez-toolkit/admin/partials/themebeez-toolkit-admin-display.php
- 28× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/themebeez-toolkit/includes/theme-info/configs/cream-magazine-config.php:151
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/themebeez-toolkit/includes/theme-info/configs/one-hive-config.php:216
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/themebeez-toolkit/includes/theme-info/configs/cream-blog-config.php:157
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/themebeez-toolkit/includes/theme-info/configs/orchid-store-config.php:164
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/themebeez-toolkit/includes/simple-mega-menu/class-simple-mega-menu-nav-walker.php:6
- > PHP Fatal error
Uncaught Error: Class 'Simple_Mega_Menu_Walker_Nav_Menu_Edit' not found in wp-content/plugins/themebeez-toolkit/includes/simple-mega-menu/class-simple-mega-menu-nav-walker-edit.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/themebeez-toolkit/includes/simple-mega-menu/class-simple-mega-menu-walker-filter.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/themebeez-toolkit/includes/simple-mega-menu/icon-fonts.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/themebeez-toolkit/includes/theme-info/configs/royale-news-pro-config.php:105
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/themebeez-toolkit/includes/simple-mega-menu/class-simple-mega-menu-walker-nav-menu-edit.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues 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: menus, themebeez, demo, import, themes...
themebeez-toolkit/themebeez-toolkit.php 92% from 13 tests
The entry point to "Themebeez Toolkit" version 1.2.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin13,175 lines of code in 88 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 76 | 2,175 | 2,916 | 7,534 |
CSS | 5 | 829 | 22 | 2,682 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 4 | 49 | 61 | 155 |
Markdown | 1 | 29 | 0 | 87 |
JSON | 1 | 0 | 0 | 46 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 16.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 262.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 1 | 2.00% |
▷ Concrete classes | 49 | 98.00% |
▷ Final classes | 2 | 4.08% |
Methods | 283 | |
▷ Static methods | 69 | 24.38% |
▷ Public methods | 208 | 73.50% |
▷ Protected methods | 35 | 12.37% |
▷ Private methods | 40 | 14.13% |
Functions | 33 | |
▷ Named functions | 30 | 90.91% |
▷ Anonymous functions | 3 | 9.09% |
Constants | 10 | |
▷ Global constants | 8 | 80.00% |
▷ Class constants | 2 | 20.00% |
▷ Public constants | 2 | 100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/theme-info/images/themebeez.png | 7.89KB | 3.15KB | ▼ 60.08% |