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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.35ms] Passed 4 tests
Server-side resources used by Timed Content For Beaver Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.02 | 39.23 ▼12.30 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.92 ▲0.51 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.20 ▼6.35 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.48 ▼11.27 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.85 ▲2.21 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Timed Content For Beaver Builder: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.18 ▼1.57 | 6.44 ▲4.44 | 55.47 ▲13.72 |
Dashboard /wp-admin | 2,217 ▲29 | 5.79 ▼0.11 | 104.87 ▼7.23 | 40.48 ▼4.51 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.02 ▼0.02 | 34.76 ▼6.27 | 36.34 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,544 ▲30 | 23.13 ▲5.40 | 687.41 ▼1.73 | 58.22 ▼1.34 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.25 ▼0.14 | 97.35 ▼12.46 | 44.98 ▼1.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: module in wp-content/plugins/timed-content-for-beaver-builder/timed-content-module/includes/frontend.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/timed-content-for-beaver-builder/timed-content-module/timed-content-module.php:13
- > PHP Fatal error
Uncaught Error: Call to a member function is_expired() on null in wp-content/plugins/timed-content-for-beaver-builder/timed-content-module/includes/frontend.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/timed-content-for-beaver-builder/timed-content-for-beaver-builder.php:18
- > PHP Fatal error
Uncaught Error: Call to a member function is_expired() on null in wp-content/plugins/timed-content-for-beaver-builder/timed-content-module/includes/frontend.css.php:8
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModel' not found in wp-content/plugins/timed-content-for-beaver-builder/class-timed-content-helper.php:31
- > PHP Notice
Undefined variable: module in wp-content/plugins/timed-content-for-beaver-builder/timed-content-module/includes/frontend.css.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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in timed-content-for-beaver-builder/assets to your readme.txt
timed-content-for-beaver-builder/timed-content-for-beaver-builder.php Passed 13 tests
Analyzing the main PHP file in "Timed Content For Beaver Builder" version 1.0.3
86 characters long description:
Timed Content For Beaver builder plugin allows users to hide content after given time.
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
There were no executable files found in this plugin626 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 66 | 149 | 574 |
JavaScript | 1 | 12 | 0 | 44 |
XML | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 6 | 42.86% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin