Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.87ms] Passed 4 tests
Analyzing server-side resources used by Scrolling Text Module for Beaver Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.86 ▲4.78 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.79 ▼1.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.63 ▼1.94 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.17 ▼5.28 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 34.59 ▲1.18 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Scrolling Text Module for Beaver Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.48 ▲0.13 | 1.73 ▼0.32 | 44.95 ▲2.89 |
Dashboard /wp-admin | 2,209 ▲20 | 5.91 ▲0.96 | 97.93 ▼22.28 | 37.89 ▼5.11 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.07 | 38.99 ▼5.82 | 33.82 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.19 ▲0.11 | 617.89 ▼65.50 | 64.41 ▲2.87 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.07 | 96.87 ▼6.39 | 42.62 ▼4.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/scrolling-text-module-for-beaver-builder/modules/basic-hscroll/includes/frontend.php
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: settings in wp-content/plugins/scrolling-text-module-for-beaver-builder/modules/basic-hscroll/includes/frontend.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/scrolling-text-module-for-beaver-builder/tt-text-scroll-marquee-bb-module.php:11
- > PHP Notice
Undefined variable: settings in wp-content/plugins/scrolling-text-module-for-beaver-builder/modules/basic-hscroll/includes/frontend.php on line 16
- > PHP Notice
Undefined variable: settings in wp-content/plugins/scrolling-text-module-for-beaver-builder/modules/basic-hscroll/includes/frontend.php on line 26
- > PHP Notice
Trying to get property 'hscroll_text_field' of non-object in wp-content/plugins/scrolling-text-module-for-beaver-builder/modules/basic-hscroll/includes/frontend.php on line 4
- > PHP Notice
Trying to get property 'hscroll_duration' of non-object in wp-content/plugins/scrolling-text-module-for-beaver-builder/modules/basic-hscroll/includes/frontend.php on line 12
- > PHP Notice
Trying to get property 'hscroll_hover' of non-object in wp-content/plugins/scrolling-text-module-for-beaver-builder/modules/basic-hscroll/includes/frontend.php on line 16
- > PHP Notice
Undefined variable: settings in wp-content/plugins/scrolling-text-module-for-beaver-builder/modules/basic-hscroll/includes/frontend.php on line 24
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/scrolling-text-module-for-beaver-builder/modules/basic-hscroll/basic-hscroll.php:3
- > PHP Warning
Use of undefined constant TT_MODULE_SCROLL_URL - assumed 'TT_MODULE_SCROLL_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/scrolling-text-module-for-beaver-builder/modules/basic-hscroll/includes/frontend.php on line 8
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
3 plugin tags: beaver builder, scrolling text, marquee
scrolling-text-module-for-beaver-builder/tt-text-scroll-marquee-bb-module.php 92% from 13 tests
The entry point to "Scrolling Text Module for Beaver Builder" version 2.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("scrolling-text-module-for-beaver-builder.php" instead of "tt-text-scroll-marquee-bb-module.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin355 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 63 | 53 | 215 |
PHP | 4 | 13 | 8 | 140 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 3 | 75.00% |
▷ Public methods | 4 | 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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected