Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.42ms] Passed 4 tests
A check of server-side resources used by Extra Conditional Logic for Beaver Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.47 ▼2.30 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.65 ▲0.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.81 ▲1.29 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.32 ▼13.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.37 ▲3.94 |
Server storage [IO: ▲4.32MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 90 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Extra Conditional Logic for Beaver Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.47 ▲0.16 | 1.97 ▲0.08 | 44.17 ▼1.78 |
Dashboard /wp-admin | 2,210 ▲19 | 4.87 ▼0.02 | 103.05 ▼10.41 | 41.61 ▼4.84 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.03 | 40.57 ▲3.28 | 37.69 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,538 ▼4 | 23.40 ▲5.06 | 670.45 ▲23.71 | 70.62 ▲24.12 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.17 ▼0.06 | 109.79 ▲14.58 | 47.50 ▲2.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
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 | 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
Please take a closer look at the following
- 36× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'MaxMind\\WebService\\Http\\Request' not found in wp-content/plugins/bb-extra-conditional-logic/vendor/maxmind/web-service-common/src/WebService/Http/CurlRequest.php:12
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\AbstractModel' not found in wp-content/plugins/bb-extra-conditional-logic/vendor/geoip2/geoip2/src/Model/ConnectionType.php:19
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\AbstractModel' not found in wp-content/plugins/bb-extra-conditional-logic/vendor/geoip2/geoip2/src/Model/AnonymousIp.php:28
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Exception\\GeoIp2Exception' not found in wp-content/plugins/bb-extra-conditional-logic/vendor/geoip2/geoip2/src/Exception/AuthenticationException.php:8
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Record\\Country' not found in wp-content/plugins/bb-extra-conditional-logic/vendor/geoip2/geoip2/src/Record/RepresentedCountry.php:16
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/bb-extra-conditional-logic/vendor/geoip2/geoip2/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/bb-extra-conditional-logic/vendor/geoip2/geoip2/examples/benchmark.php on line 3
- > PHP Fatal error
Uncaught Error: Interface 'GeoIp2\\ProviderInterface' not found in wp-content/plugins/bb-extra-conditional-logic/vendor/geoip2/geoip2/src/Database/Reader.php:34
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Record\\AbstractRecord' not found in wp-content/plugins/bb-extra-conditional-logic/vendor/geoip2/geoip2/src/Record/Location.php:36
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\Country' not found in wp-content/plugins/bb-extra-conditional-logic/vendor/geoip2/geoip2/src/Model/City.php:30
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\AbstractModel' not found in wp-content/plugins/bb-extra-conditional-logic/vendor/geoip2/geoip2/src/Model/Asn.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: conditional logic, beaver builder, bb
bb-extra-conditional-logic/extra-conditional-logic-for-bb.php 92% from 13 tests
The main PHP script in "Extra Conditional Logic for Beaver Builder" version 1.0.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bb-extra-conditional-logic.php" instead of "extra-conditional-logic-for-bb.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin4,220 lines of code in 81 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 64 | 536 | 1,584 | 2,444 |
Markdown | 7 | 257 | 0 | 627 |
C | 1 | 97 | 18 | 589 |
JSON | 5 | 0 | 0 | 384 |
JavaScript | 1 | 3 | 3 | 98 |
Bourne Shell | 1 | 19 | 0 | 38 |
m4 | 1 | 8 | 0 | 32 |
C/C++ Header | 1 | 4 | 12 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 5.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 3 | 5.77% |
▷ Concrete classes | 49 | 94.23% |
▷ Final classes | 0 | 0.00% |
Methods | 149 | |
▷ Static methods | 13 | 8.72% |
▷ Public methods | 102 | 68.46% |
▷ Protected methods | 1 | 0.67% |
▷ Private methods | 46 | 30.87% |
Functions | 10 | |
▷ Named functions | 4 | 40.00% |
▷ Anonymous functions | 6 | 60.00% |
Constants | 22 | |
▷ Global constants | 4 | 18.18% |
▷ Class constants | 18 | 81.82% |
▷ Public constants | 18 | 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
No PNG files were detected