Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.88ms] 75% from 4 tests
This is a short check of server-side resources used by Timeline Event History
It is recommended to improve the following
- CPU: You should keep total CPU usage under 500.00ms (currently 669.29ms on /wp-admin/edit.php?post_type=timeline_wp&page=teh-dashboard)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.03 ▼3.10 |
Dashboard /wp-admin | 3.37 ▲0.07 | 53.46 ▲0.28 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 51.17 ▲0.82 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 90.07 ▼8.48 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.09 ▼0.20 |
Upgrade To Premium /wp-admin/edit.php?post_type=timeline_wp&page=teh-premium | 3.32 | 34.72 |
Documentation /wp-admin/edit.php?post_type=timeline_wp&page=teh-designs | 3.35 | 32.14 |
Add New /wp-admin/post-new.php?post_type=timeline_wp | 3.47 | 48.63 |
Timelines /wp-admin/edit.php?post_type=timeline_wp | 3.34 | 37.32 |
Install Popular Plugins From WPdiscover /wp-admin/edit.php?post_type=timeline_wp&page=teh-dashboard | 3.50 | 669.29 |
Server storage [IO: ▲5.94MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 106 new files
Database: no new tables, 10 new options
New WordPress options |
---|
teh_cns_review |
widget_recent-comments |
db_upgraded |
timelne-wp-v |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
timelne-wp-installDate |
widget_theysaidso_widget |
timelne-wp-type |
Browser metrics Passed 4 tests
An overview of browser requirements for Timeline Event History
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲83 | 14.67 ▲0.29 | 1.99 ▲0.26 | 39.58 ▼4.24 |
Dashboard /wp-admin | 2,235 ▲55 | 5.57 ▼0.08 | 94.77 ▲1.21 | 70.97 ▲25.25 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 1.95 ▲0.01 | 36.77 ▼3.37 | 33.71 ▼1.97 |
Add New Post /wp-admin/post-new.php | 6,233 ▲4,707 | 29.00 ▲5.92 | 1,032.25 ▲352.59 | 61.52 ▼0.17 |
Media Library /wp-admin/upload.php | 1,443 ▲49 | 4.17 ▼0.03 | 98.58 ▲0.88 | 80.92 ▲39.93 |
Upgrade To Premium /wp-admin/edit.php?post_type=timeline_wp&page=teh-premium | 1,202 | 2.00 | 25.66 | 50.78 |
Documentation /wp-admin/edit.php?post_type=timeline_wp&page=teh-designs | 1,149 | 2.14 | 27.80 | 41.45 |
Add New /wp-admin/post-new.php?post_type=timeline_wp | 4,762 | 6.63 | 150.88 | 131.39 |
Timelines /wp-admin/edit.php?post_type=timeline_wp | 1,117 | 1.91 | 34.03 | 29.94 |
Install Popular Plugins From WPdiscover /wp-admin/edit.php?post_type=timeline_wp&page=teh-dashboard | 1,618 | 2.05 | 24.59 | 35.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 10 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- timelne-wp-type
- timelne-wp-installDate
- timelne-wp-v
- teh_cns_review
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 19× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/timeline-event-history/includes/admin/timeline-wp-build.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/timeline-event-history/includes/public/templates/style-another/style.php:102
- > PHP Warning
require(TIMELINE_WP_DIRincludes/libraries/class-gamajo-template-loader.php): failed to open stream: No such file or directory in wp-content/plugins/timeline-event-history/includes/libraries/class-timeline-wp-template-loader.php on line 3
- > PHP Notice
Undefined variable: settings in wp-content/plugins/timeline-event-history/includes/public/templates/style-one/style.php on line 4
- > PHP Fatal error
require(): Failed opening required 'TIMELINE_WP_DIRincludes/libraries/class-gamajo-template-loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/timeline-event-history/includes/libraries/class-timeline-wp-template-loader.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/timeline-event-history/includes/public/templates/style-another/style.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/timeline-event-history/includes/admin/class-timeline-wp-field-builder.php:518
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/timeline-event-history/includes/public/templates/style-one/index.php:2
- > PHP Warning
Use of undefined constant TIMELINE_WP_DIR - assumed 'TIMELINE_WP_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/timeline-event-history/includes/libraries/class-timeline-wp-template-loader.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/timeline-event-history/includes/install/installation.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5 in timeline-event-history/assets to your readme.txt
timeline-event-history/timeline-wp.php 85% from 13 tests
The main PHP script in "Timeline Event History" version 3.0 is automatically included on every request by WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 295 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("timeline-event-history.php" instead of "timeline-wp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin28,866 lines of code in 81 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 1,534 | 184 | 12,033 |
JavaScript | 34 | 2,010 | 1,897 | 8,994 |
Sass | 11 | 598 | 43 | 5,113 |
PHP | 21 | 555 | 544 | 2,725 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 9 | 16.98% |
▷ Public methods | 40 | 75.47% |
▷ Protected methods | 3 | 5.66% |
▷ Private methods | 10 | 18.87% |
Functions | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
Constants | 15 | |
▷ Global constants | 15 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/timeline-default.png | 13.57KB | 5.89KB | ▼ 56.61% |
assets/images/timeline-icon-small.png | 2.25KB | 1.33KB | ▼ 40.99% |