Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.64MB] [CPU: ▼14.28ms] Passed 4 tests
A check of server-side resources used by Timeline History
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.17 ▲1.06 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.94 ▼0.21 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 48.05 ▲1.33 |
Add New Post /wp-admin/post-new.php | 3.15 ▼2.74 | 35.25 ▼59.31 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.47 ▲2.58 |
History Timeline /wp-admin/edit.php?post_type=history_post | 3.33 | 33.98 |
Add New /wp-admin/post-new.php?post_type=history_post | 3.14 | 33.44 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Timeline History
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 13.39 ▼0.98 | 1.82 ▲0.19 | 42.00 ▲3.51 |
Dashboard /wp-admin | 2,238 ▲49 | 4.97 ▲0.09 | 96.85 ▼10.14 | 69.32 ▲27.72 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.05 ▼0.00 | 38.63 ▼2.14 | 35.34 ▼1.10 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 17.84 ▼5.41 | 688.71 ▲6.97 | 57.72 ▲2.19 |
Media Library /wp-admin/upload.php | 1,420 ▲35 | 4.21 ▼0.03 | 96.94 ▼6.55 | 62.50 ▲16.99 |
History Timeline /wp-admin/edit.php?post_type=history_post | 1,108 | 1.94 | 30.31 | 30.40 |
Add New /wp-admin/post-new.php?post_type=history_post | 2,473 | 7.98 | 214.93 | 86.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=history_post
- > Notice in wp-content/plugins/timeline-history/metabox.php+66
Undefined index: _inline_edit
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=history_post
- > Notice in wp-content/plugins/timeline-history/metabox.php+100
Undefined variable: meta_box_history_date_final_val
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/timeline-history/include/content.php
- > /wp-content/plugins/timeline-history/include/top-title.php
- > /wp-content/plugins/timeline-history/include/history-table_list.php
- > /wp-content/plugins/timeline-history/history.php
- > /wp-content/plugins/timeline-history/post-type.php
- > /wp-content/plugins/timeline-history/metabox.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% 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
3 plugin tags: history, horizontal, timeline
timeline-history/history.php 92% from 13 tests
The main PHP file in "Timeline History" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("timeline-history.php" instead of "history.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin16,137 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 11 | 848 | 15,635 |
PHP | 6 | 42 | 27 | 269 |
JavaScript | 1 | 33 | 22 | 222 |
SVG | 1 | 0 | 1 | 11 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/timeline.png | 1.95KB | 1.06KB | ▼ 45.77% |