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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲1.30ms] Passed 4 tests
This is a short check of server-side resources used by Be Boost
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.18 ▲2.39 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.73 ▲1.61 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.20 ▲3.02 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.17 ▼0.08 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.34 ▲1.28 |
Server storage [IO: ▲3.01MB] [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 |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Be Boost
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▼0.06 | 1.70 ▼0.11 | 44.72 ▲4.37 |
Dashboard /wp-admin | 2,206 ▲14 | 4.85 ▼0.17 | 114.55 ▲7.80 | 44.27 ▲0.43 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.02 | 33.74 ▼0.54 | 34.29 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,520 ▼18 | 23.04 ▼0.14 | 635.92 ▼7.58 | 58.30 ▲2.20 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▲0.02 | 94.14 ▼4.01 | 47.71 ▲3.43 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/be-boost/includes/share-icons.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/be-boost/includes/improt-code.php:92
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (After activate the plugin you will see 5 share button in your single product page.), #2 (After you can click to share the product .)
- Donate link: Invalid url: ""
be-boost/be-boost.php Passed 13 tests
The main file in "Be Boost" v. 1.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
29 characters long description:
The plugin for share porducts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin38,732 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 4 | 496 | 818 | 38,394 |
PHP | 3 | 53 | 130 | 176 |
CSS | 3 | 13 | 26 | 115 |
SVG | 1 | 0 | 0 | 47 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 5 | 71.43% |
▷ Class constants | 2 | 28.57% |
▷ Public constants | 2 | 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
There were not PNG files found in your plugin