Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/kntnts-bb-any-term/kntnt-bb-any-term.php+48
Use of undefined constant FL_BUILDER_VERSION - assumed 'FL_BUILDER_VERSION' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.92MB] [CPU: ▼56.90ms] Passed 4 tests
Server-side resources used by Kntnt's Any Term for Beaver Builder Page Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 5.01 ▼37.45 |
Dashboard /wp-admin | 2.09 ▼1.21 | 7.20 ▼44.19 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 9.22 ▼46.88 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 8.06 ▼99.09 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 7.06 ▼35.91 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
category_children |
Browser metrics Passed 4 tests
A check of browser resources used by Kntnt's Any Term for Beaver Builder Page Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.72 ▲0.34 | 1.71 ▼0.49 | 39.61 ▼4.82 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▲0.02 | 90.01 ▼4.93 | 41.45 ▼2.76 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▼0.02 | 39.76 ▼1.63 | 36.63 ▼0.43 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.99 ▼0.05 | 657.71 ▼35.84 | 50.60 ▼12.89 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.21 ▲0.08 | 98.29 ▼18.46 | 43.18 ▼5.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/kntnts-bb-any-term/kntnt-bb-any-term.php+48
Use of undefined constant FL_BUILDER_VERSION - assumed 'FL_BUILDER_VERSION' (this will throw an Error in a future version of PHP)
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- category_children
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: related posts, category, beaver builder, tags, taxonomy
kntnts-bb-any-term/kntnt-bb-any-term.php 77% from 13 tests
The entry point to "Kntnt's Any Term for Beaver Builder Page Builder" version 1.0.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("kntnts-bb-any-term.php" instead of "kntnt-bb-any-term.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 395 characters long)
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
No dangerous file extensions were detected92 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 28 | 35 | 92 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected