Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.74MB] [CPU: ▲3.14ms] Passed 4 tests
Server-side resources used by Event Timeline - Vertical Timeline
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.74 | 45.38 ▼0.66 |
Dashboard /wp-admin | 4.05 ▲0.74 | 56.37 ▲3.16 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 55.74 ▲5.57 |
Add New Post /wp-admin/post-new.php | 6.65 ▲0.76 | 94.08 ▲4.47 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 45.48 ▲7.11 |
Server storage [IO: ▲3.32MB] [DB: ▲0.04MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 122 new files
Database: 6 new tables, 7 new options
New tables |
---|
wp_rich_web_timeline_manager |
wp_rich_web_timeline_style_options_2 |
wp_rich_web_timeline_style_options |
wp_rich_web_icons |
wp_rich_web_timeline_options |
wp_rich_web_timeline_short_options |
New WordPress options |
---|
widget_rich_web_timeline_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Event Timeline - Vertical Timeline
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲197 | 13.93 ▼0.63 | 12.84 ▲10.99 | 37.92 ▼7.66 |
Dashboard /wp-admin | 2,235 ▲58 | 5.81 ▲0.16 | 97.73 ▲4.19 | 96.49 ▲54.82 |
Posts /wp-admin/edit.php | 2,157 ▲57 | 2.27 ▲0.32 | 35.62 ▼5.61 | 40.43 ▲5.78 |
Add New Post /wp-admin/post-new.php | 1,739 ▲213 | 25.05 ▲2.08 | 613.39 ▼68.55 | 38.22 ▼11.93 |
Media Library /wp-admin/upload.php | 1,455 ▲55 | 4.55 ▲0.35 | 102.54 ▼8.02 | 90.77 ▲45.58 |
Our Products /wp-admin/admin.php?page=Rich-Web Products | 1,027 | 1.84 | 30.81 | 40.49 |
Timeline Options /wp-admin/admin.php?page=Rich-Web Timeline General | 6,613 | 2.03 | 35.84 | 46.50 |
Timeline Manager /wp-admin/admin.php?page=Rich-Web Timeline Admin | 4,540 | 3.21 | 60.45 | 30.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure failed, leaving 6 tables in the database
- wp_rich_web_timeline_style_options_2
- wp_rich_web_timeline_options
- wp_rich_web_timeline_short_options
- wp_rich_web_icons
- wp_rich_web_timeline_manager
- wp_rich_web_timeline_style_options
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_rich_web_timeline_widget
- widget_theysaidso_widget
- can_compress_scripts
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rich-event-timeline/Rich-Web-Timeline.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rich-event-timeline/Rich-Web-Timeline-Widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/rich-event-timeline/Rich-Web-Timeline-Admin-Manager.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rich-event-timeline/Rich-Web-Timeline-Ajax.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/rich-event-timeline/Rich-Web-Timeline-Shortcode.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/rich-event-timeline/Rich-Web-Timeline-Admin-General.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: events, history, wp timeline, event timeline, vertical...
rich-event-timeline/Rich-Web-Timeline.php 92% from 13 tests
The main PHP script in "Event Timeline - Vertical Timeline" version 1.1.6 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("rich-event-timeline.php" instead of "Rich-Web-Timeline.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin16,513 lines of code in 74 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 2,067 | 65 | 7,996 |
PHP | 9 | 456 | 202 | 6,802 |
SVG | 3 | 0 | 0 | 879 |
JavaScript | 49 | 34 | 3 | 836 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.11MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Images/rich-web-timeline-logo.png | 2.12KB | 1.36KB | ▼ 35.64% |
Images/Products/Tabs.png | 38.79KB | 5.59KB | ▼ 85.59% |
Images/Products/Coming-Soon.png | 5.13KB | 4.25KB | ▼ 17.20% |
Images/Products/Slider-Video.png | 3.09KB | 2.93KB | ▼ 5.43% |
Images/Products/Timeline.png | 3.70KB | 2.72KB | ▼ 26.45% |