Benchmarks
Plugin footprint 82% 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: ▲1.62MB] [CPU: ▲6.62ms] 75% from 4 tests
An overview of server-side resources used by Cool Timeline (Horizontal & Vertical Timeline)
Please take the time to fix the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 738.45ms on /wp-admin/admin.php?page=cool-plugins-timeline-addon)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 40.34 ▲2.41 |
Dashboard /wp-admin | 5.33 ▲1.98 | 62.95 ▲4.98 |
Posts /wp-admin/edit.php | 5.39 ▲2.03 | 56.77 ▲8.44 |
Add New Post /wp-admin/post-new.php | 10.40 ▲4.51 | 106.19 ▲10.66 |
Media Library /wp-admin/upload.php | 5.26 ▲2.02 | 53.29 ▲19.57 |
Timeline Settings /wp-admin/admin.php?page=cool_timeline_settings | 8.12 | 67.53 |
Cool Timeline Stories /wp-admin/edit.php?post_type=cool_timeline | 8.19 | 57.33 |
Dashboard /wp-admin/admin.php?page=cool-plugins-timeline-addon | 5.28 | 738.45 |
Add New Story /wp-admin/post-new.php?post_type=cool_timeline | 8.18 | 69.26 |
Server storage [IO: ▲12.01MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 296 new files
Database: no new tables, 14 new options
New WordPress options |
---|
cool-timelne-plugin-type |
theysaidso_admin_options |
cool-plugins-timeline-addon-timeline |
cool-plugins-timeline-addon-timeline-pro |
cool_timeline_settings |
cool-timeline-already-rated |
widget_theysaidso_widget |
ctl-upgraded |
db_upgraded |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Cool Timeline (Horizontal & Vertical Timeline)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲113 | 14.33 ▼0.33 | 1.94 ▲0.29 | 45.95 ▲9.33 |
Dashboard /wp-admin | 2,237 ▲57 | 5.56 ▼0.06 | 92.31 ▲7.69 | 71.32 ▲28.04 |
Posts /wp-admin/edit.php | 2,154 ▲51 | 1.99 ▼0.03 | 33.97 ▼0.46 | 32.91 ▲2.30 |
Add New Post /wp-admin/post-new.php | 1,861 ▲333 | 27.44 ▲4.45 | 956.60 ▲269.54 | 33.46 ▼15.62 |
Media Library /wp-admin/upload.php | 1,460 ▲60 | 4.18 ▼0.01 | 101.56 ▲4.00 | 69.84 ▲23.54 |
Timeline Settings /wp-admin/admin.php?page=cool_timeline_settings | 2,060 | 4.53 | 75.10 | 80.92 |
Cool Timeline Stories /wp-admin/edit.php?post_type=cool_timeline | 1,392 | 4.13 | 52.58 | 56.63 |
Dashboard /wp-admin/admin.php?page=cool-plugins-timeline-addon | 1,083 | 2.03 | 26.96 | 33.14 |
Add New Story /wp-admin/post-new.php?post_type=cool_timeline | 2,849 | 8.66 | 181.73 | 143.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 14 options in the database
- cool-plugins-timeline-addon-timeline-pro
- widget_theysaidso_widget
- db_upgraded
- cool-timelne-installDate
- cool-plugins-timeline-addon-timeline
- ctl-upgraded
- cool-timeline-already-rated
- can_compress_scripts
- cool-free-timeline-v
- theysaidso_admin_options
- ...
Smoke tests 50% 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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cool-timeline/admin/timeline-addon-page/includes/cool_plugins_downloader.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cool-timeline/includes/shortcode-blocks/ctl-block.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: roadmap, vertical timeline, gutenberg timeline, history, horizontal timeline...
cool-timeline/cooltimeline.php 85% from 13 tests
"Cool Timeline (Horizontal & Vertical Timeline)" version 2.7.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 266 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cool-timeline.php" instead of "cooltimeline.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
No dangerous file extensions were detected107,161 lines of code in 220 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 40 | 10,364 | 9,685 | 64,997 |
PHP | 107 | 3,949 | 1,964 | 18,231 |
CSS | 22 | 1,188 | 580 | 10,430 |
PO File | 24 | 3,318 | 3,723 | 6,872 |
Sass | 21 | 1,030 | 19 | 6,214 |
Markdown | 2 | 85 | 0 | 379 |
JSON | 1 | 0 | 0 | 35 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 25.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 150.00 |
Average method complexity | 6.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 76 | |
▷ Abstract classes | 2 | 2.63% |
▷ Concrete classes | 74 | 97.37% |
▷ Final classes | 2 | 2.70% |
Methods | 340 | |
▷ Static methods | 63 | 18.53% |
▷ Public methods | 336 | 98.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 1.18% |
Functions | 32 | |
▷ Named functions | 31 | 96.88% |
▷ Anonymous functions | 1 | 3.12% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
35 PNG files occupy 0.58MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/timeline-addon-page/assets/images/timeline-widget-addon-for-elementor-pro.png | 6.02KB | 6.24KB | 0.00% |
assets/images/prettyPhoto/default/sprite.png | 6.53KB | 3.21KB | ▼ 50.87% |
includes/shortcode-blocks/dist/images/timeline.27d3f3c7.png | 123.22KB | 29.32KB | ▼ 76.20% |
assets/images/cooltimeline.png | 1.30KB | 0.35KB | ▼ 73.18% |
admin/timeline-addon-page/assets/images/timeline-builder-pro.png | 6.10KB | 6.46KB | 0.00% |