Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.42ms] Passed 4 tests
Server-side resources used by WP Responsive Timeline
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.99 ▼4.46 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.62 ▼7.90 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.63 ▼4.47 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 94.67 ▼0.86 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 42.71 ▲5.33 |
Add New /wp-admin/post-new.php?post_type=wp-timeline | 3.45 | 48.74 |
Timelines /wp-admin/edit.php?post_type=wp-timeline | 3.35 | 43.34 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP Responsive Timeline
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲86 | 13.64 ▼1.05 | 1.62 ▲0.02 | 39.84 ▼5.39 |
Dashboard /wp-admin | 2,251 ▲48 | 4.92 ▲0.02 | 99.47 ▼2.51 | 39.68 ▼2.34 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.09 ▲0.11 | 35.03 ▼0.80 | 34.31 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,552 ▲21 | 23.49 ▲0.35 | 672.95 ▼12.54 | 66.51 ▲6.66 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.45 ▲0.23 | 114.70 ▲7.74 | 49.14 ▼0.24 |
Add New /wp-admin/post-new.php?post_type=wp-timeline | 2,580 | 7.98 | 170.65 | 69.35 |
Timelines /wp-admin/edit.php?post_type=wp-timeline | 1,136 | 2.01 | 32.80 | 31.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-responsive-timeline/wp-responsive-timeline.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_part() in wp-content/plugins/wp-responsive-timeline/templates/timeline-vertical-shortcode.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-responsive-timeline/templates/timeline-vertical.php:1
- > PHP Notice
Undefined variable: wprt_posts in wp-content/plugins/wp-responsive-timeline/templates/timeline-vertical-shortcode.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: wordpress, wp timeline, timeline plugin, responsive timeline, vertical timeline...
wp-responsive-timeline/wp-responsive-timeline.php 92% from 13 tests
The main PHP file in "WP Responsive Timeline" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin735 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 54 | 17 | 365 |
PHP | 11 | 70 | 11 | 351 |
JavaScript | 1 | 4 | 2 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 6 | 33.33% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/ui-icons.png | 6.93KB | 4.18KB | ▼ 39.62% |