Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.39MB] [CPU: ▼3.22ms] Passed 4 tests
This is a short check of server-side resources used by Bold Timeline Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 43.68 ▲8.46 |
Dashboard /wp-admin | 3.71 ▲0.41 | 47.11 ▼0.55 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 45.30 ▼3.40 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 83.29 ▼7.16 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 36.67 ▼1.75 |
Bold Timelines /wp-admin/admin.php?page=bold-timeline | 3.71 | 33.40 |
Add New /wp-admin/admin.php?page=bold-timeline-edit | 3.98 | 52.49 |
Server storage [IO: ▲5.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 199 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Bold Timeline Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲164 | 13.41 ▼0.89 | 10.55 ▲8.87 | 43.71 ▲0.48 |
Dashboard /wp-admin | 2,221 ▲44 | 5.65 ▼0.03 | 94.73 ▲4.74 | 42.27 ▲1.63 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.01 ▲0.03 | 33.29 ▼3.41 | 34.57 ▲1.74 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.14 ▼0.35 | 685.83 ▼10.08 | 53.03 ▼2.16 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.12 ▲0.02 | 101.32 ▼7.37 | 43.06 ▼2.59 |
Bold Timelines /wp-admin/admin.php?page=bold-timeline | 1,092 | 2.07 | 25.53 | 29.42 |
Add New /wp-admin/admin.php?page=bold-timeline-edit | 1,940 | 8.63 | 155.91 | 100.86 |
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
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 105× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Bold_Timeline' not found in wp-content/plugins/bold-timeline-lite/assets/views/bold_timeline_item_view.php:168
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bold-timeline-lite/content_elements/bold_timeline_item/bold_timeline_item.php:7
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p11_Factory' not found in wp-content/plugins/bold-timeline-lite/bold-builder-light/plugin-update-checker/Puc/v4/Factory.php:4
- > PHP Notice
Undefined variable: shape in wp-content/plugins/bold-timeline-lite/assets/views/bold_timeline_item_button_view.php on line 34
- > PHP Notice
Undefined variable: el_id in wp-content/plugins/bold-timeline-lite/assets/views/bold_timeline_container_view.php on line 5
- > PHP Notice
Undefined variable: el_class in wp-content/plugins/bold-timeline-lite/assets/views/bold_timeline_group_view.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p8_Theme_UpdateChecker' not found in wp-content/plugins/bold-timeline-lite/bold-builder-light/plugin-update-checker/Puc/v4p8/Vcs/ThemeUpdateChecker.php:5
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/bold-timeline-lite/bold-builder-light/class-btbb-light-list-table.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p8_UpdateChecker' not found in wp-content/plugins/bold-timeline-lite/bold-builder-light/plugin-update-checker/Puc/v4p8/Theme/UpdateChecker.php:5
- > PHP Notice
Undefined variable: item_connection_type in wp-content/plugins/bold-timeline-lite/assets/views/bold_timeline_item_view.php on line 33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #1, #10, #11, #12, #2, #3, #4, #5, #6, #7, #8, #9 in bold-timeline-lite/assets to your readme.txt
bold-timeline-lite/bold-timeline-lite.php Passed 13 tests
The main PHP file in "Bold Timeline Lite" ver. 1.2.0 adds more information about the plugin and also serves as the entry point for this plugin
33 characters long description:
Bold Timeline Lite by BoldThemes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin28,374 lines of code in 136 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 77 | 2,386 | 2,519 | 12,973 |
CSS | 17 | 435 | 419 | 8,668 |
SVG | 4 | 1 | 0 | 3,013 |
Sass | 6 | 178 | 0 | 2,494 |
PO File | 16 | 92 | 95 | 532 |
JavaScript | 12 | 82 | 98 | 395 |
Markdown | 1 | 74 | 0 | 227 |
JSON | 3 | 8 | 0 | 72 |
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.41 |
Average class complexity | 22.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 51 | |
▷ Abstract classes | 5 | 9.80% |
▷ Concrete classes | 46 | 90.20% |
▷ Final classes | 0 | 0.00% |
Methods | 499 | |
▷ Static methods | 65 | 13.03% |
▷ Public methods | 331 | 66.33% |
▷ Protected methods | 156 | 31.26% |
▷ Private methods | 12 | 2.40% |
Functions | 31 | |
▷ Named functions | 29 | 93.55% |
▷ Anonymous functions | 2 | 6.45% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/gfx/video-16.9.png | 0.92KB | 0.08KB | ▼ 91.15% |
assets/gfx/bold-timeline-notice.png | 11.43KB | 12.24KB | 0.00% |
assets/gfx/BT-Icon.png | 8.15KB | 3.55KB | ▼ 56.40% |