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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼0.46ms] Passed 4 tests
This is a short check of server-side resources used by Big Boom Rule Of Three
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.64 ▼0.32 |
Dashboard /wp-admin | 3.46 ▲0.16 | 49.81 ▼1.69 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 49.75 ▼0.33 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 93.80 ▲2.15 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 36.71 ▲0.49 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Big Boom Rule Of Three
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲129 | 13.76 ▼0.59 | 9.35 ▲7.58 | 44.30 ▲0.14 |
Dashboard /wp-admin | 2,208 ▲37 | 5.62 ▲0.05 | 86.53 ▼17.44 | 40.44 ▼4.68 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.02 ▼0.01 | 35.35 ▼5.29 | 33.65 ▼3.44 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.02 ▼0.11 | 618.70 ▼55.90 | 58.76 ▲2.06 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.26 ▲0.01 | 101.44 ▼9.19 | 44.02 ▼3.08 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function ro3_dir() in wp-content/plugins/big-boom-rule-of-three/lib/class-ro3.php:495
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/big-boom-rule-of-three/rule-of-three.php:129
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/big-boom-rule-of-three/lib/class-ro3-options.php:533
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: layout builder, rule of three, call to action, responsive
big-boom-rule-of-three/rule-of-three.php 92% from 13 tests
"Big Boom Rule Of Three" version 1.6.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("big-boom-rule-of-three.php" instead of "rule-of-three.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,462 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 138 | 358 | 689 |
SVG | 1 | 0 | 0 | 565 |
JavaScript | 3 | 34 | 64 | 205 |
CSS | 3 | 0 | 3 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 57.00 |
▷ Minimum class complexity | 47.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 28 | 100.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin