Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/vertical-timeline-responsive/a-vertical-timeline-responsive.php+93
syntax error, unexpected 'Public' (T_PUBLIC), expecting identifier (T_STRING)
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.08ms] Passed 4 tests
This is a short check of server-side resources used by A Vertical Timeline Responsive
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.80 ▼0.41 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.34 ▼21.46 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.29 ▲0.71 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.14 ▼19.15 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.27 ▲2.78 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A Vertical Timeline Responsive: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.18 | 1.79 ▼0.09 | 40.48 ▼0.96 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▲0.02 | 89.53 ▲0.53 | 40.62 ▼3.73 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.95 ▼0.05 | 39.90 ▲2.78 | 37.05 ▲4.46 |
Add New Post /wp-admin/post-new.php | 1,526 ▼10 | 23.02 ▲4.88 | 682.26 ▲21.50 | 58.64 ▼6.35 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.06 | 99.40 ▲0.23 | 42.57 ▼4.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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 everything seems fine, this is not 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
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/vertical-timeline-responsive/elementor/class-elementor-widget-vtlr.php:4
- > PHP Parse error
syntax error, unexpected 'Public' (T_PUBLIC), expecting identifier (T_STRING) in wp-content/plugins/vertical-timeline-responsive/includes/public/class_enqueue_scripts.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/vertical-timeline-responsive/includes/admin/wp-metabox-api/class-hd-wp-metabox-api.php:94
- > PHP Parse error
syntax error, unexpected 'Public' (T_PUBLIC), expecting identifier (T_STRING) in wp-content/plugins/vertical-timeline-responsive/includes/public/class_shortcode.php on line 3
- > PHP Parse error
syntax error, unexpected 'Public' (T_PUBLIC), expecting identifier (T_STRING) in wp-content/plugins/vertical-timeline-responsive/a-vertical-timeline-responsive.php on line 93
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: a vertical timeline, vertical timeline, vtlr, timeline, css timeline...
vertical-timeline-responsive/a-vertical-timeline-responsive.php 85% from 13 tests
The main file in "A Vertical Timeline Responsive" v. 2.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("vertical-timeline-responsive.php" instead of "a-vertical-timeline-responsive.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
Good job! No executable or dangerous file extensions detected1,043 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 310 | 263 | 861 |
CSS | 1 | 32 | 0 | 158 |
JavaScript | 1 | 9 | 2 | 24 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 13.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 73.47% |
▷ Protected methods | 3 | 6.12% |
▷ Private methods | 10 | 20.41% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected