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.12MB] [CPU: ▼3.93ms] Passed 4 tests
This is a short check of server-side resources used by Business One ToolKit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 39.55 ▼6.87 |
Dashboard /wp-admin | 3.42 ▲0.12 | 45.29 ▼3.02 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 48.89 ▲2.61 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 86.62 ▲0.92 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 38.43 ▼6.76 |
Clients /wp-admin/edit.php?post_type=clients | 3.39 | 36.02 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.47 | 50.91 |
Skill /wp-admin/edit.php?post_type=skill | 3.39 | 37.05 |
About /wp-admin/edit.php?post_type=about | 3.39 | 31.64 |
Add New /wp-admin/post-new.php?post_type=about | 3.38 | 42.10 |
Add New /wp-admin/post-new.php?post_type=team | 3.38 | 41.11 |
Add New /wp-admin/post-new.php?post_type=clients | 3.38 | 43.38 |
Category /wp-admin/edit-tags.php?taxonomy=port_post&post_type=portfolio | 3.34 | 33.17 |
Add New /wp-admin/post-new.php?post_type=skill | 3.38 | 44.39 |
Services /wp-admin/edit.php?post_type=services | 3.39 | 36.87 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Business One ToolKit
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,013 ▲267 | 13.30 ▼1.22 | 2.06 ▼0.21 | 43.37 ▼2.04 |
Dashboard /wp-admin | 2,376 ▲188 | 5.05 ▲0.16 | 110.93 ▼6.58 | 40.10 ▼3.65 |
Posts /wp-admin/edit.php | 2,262 ▲173 | 2.02 ▲0.03 | 44.02 ▲7.82 | 36.80 ▲4.43 |
Add New Post /wp-admin/post-new.php | 1,658 ▲144 | 17.63 ▲0.11 | 678.58 ▲1.13 | 53.79 ▼9.68 |
Media Library /wp-admin/upload.php | 1,561 ▲176 | 4.11 ▼0.28 | 96.72 ▼8.14 | 44.33 ▲2.59 |
Clients /wp-admin/edit.php?post_type=clients | 1,223 | 1.96 | 32.03 | 32.75 |
Add New /wp-admin/post-new.php?post_type=portfolio | 2,419 | 7.85 | 168.98 | 64.83 |
Skill /wp-admin/edit.php?post_type=skill | 1,223 | 2.14 | 31.64 | 29.58 |
About /wp-admin/edit.php?post_type=about | 1,220 | 1.99 | 32.71 | 29.36 |
Add New /wp-admin/post-new.php?post_type=about | 1,563 | 2.50 | 50.95 | 52.55 |
Add New /wp-admin/post-new.php?post_type=team | 1,563 | 2.50 | 46.89 | 45.46 |
Add New /wp-admin/post-new.php?post_type=clients | 1,566 | 2.49 | 49.44 | 47.33 |
Category /wp-admin/edit-tags.php?taxonomy=port_post&post_type=portfolio | 1,435 | 2.15 | 27.09 | 28.02 |
Add New /wp-admin/post-new.php?post_type=skill | 1,563 | 2.49 | 46.91 | 48.89 |
Services /wp-admin/edit.php?post_type=services | 1,223 | 1.99 | 31.45 | 30.88 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% 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 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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/business-one-toolkit/business-one.php:101
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: business, toolkit
business-one-toolkit/business-one.php 85% from 13 tests
The entry point to "Business One ToolKit" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("business-one-toolkit.php" instead of "business-one.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected71 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 10 | 71 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin