Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲1.78MB] [CPU: ▲4.34ms] Passed 4 tests
This is a short check of server-side resources used by History Timeline for Biography, Company History & Event Timeline
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.51 ▲2.04 | 51.77 ▲8.01 |
Dashboard /wp-admin | 5.36 ▲2.06 | 63.12 ▲16.16 |
Posts /wp-admin/edit.php | 5.41 ▲2.05 | 60.30 ▲8.45 |
Add New Post /wp-admin/post-new.php | 6.89 ▲0.99 | 70.43 ▼15.27 |
Media Library /wp-admin/upload.php | 5.27 ▲2.04 | 56.42 ▲24.55 |
Add New /wp-admin/post-new.php?post_type=timeline-awesome | 9.00 | 83.87 |
All Timelines /wp-admin/edit.php?post_type=timeline-awesome | 5.34 | 53.80 |
Server storage [IO: ▲9.92MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 542 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for History Timeline for Biography, Company History & Event Timeline
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,119 ▲358 | 18.22 ▲3.86 | 1.49 ▼0.18 | 38.38 ▼3.56 |
Dashboard /wp-admin | 2,528 ▲351 | 8.98 ▲3.32 | 154.30 ▲67.62 | 37.03 ▼2.91 |
Posts /wp-admin/edit.php | 2,476 ▲376 | 6.20 ▲4.24 | 86.98 ▲47.43 | 29.50 ▼9.59 |
Add New Post /wp-admin/post-new.php | 6,276 ▲4,740 | 22.20 ▲4.22 | 1,008.48 ▲410.49 | 40.79 ▼33.34 |
Media Library /wp-admin/upload.php | 1,601 ▲201 | 6.77 ▲2.37 | 118.07 ▲22.68 | 49.18 ▲5.73 |
Documentation /wp-admin/crb_carbon_fields_container_documentation.php | 26 | 0.42 | 0.13 | 13.32 |
Add New /wp-admin/post-new.php?post_type=timeline-awesome | 8,566 | 7.98 | 258.25 | 43.92 |
Go Pro /wp-admin/crb_carbon_fields_container_go_pro.php | 26 | 0.42 | 0.11 | 6.27 |
All Timelines /wp-admin/edit.php?post_type=timeline-awesome | 1,462 | 6.15 | 69.53 | 29.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 25% 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 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 items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/timeline-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 135× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/timeline-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Taxonomy_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/timeline-awesome/vendor/htmlburger/carbon-fields/core/Container/Term_Meta_Container.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/timeline-awesome/vendor/htmlburger/carbon-fields/core/Field/Hidden_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Theme_Options_Container' not found in wp-content/plugins/timeline-awesome/vendor/htmlburger/carbon-fields/core/Container/Network_Container.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/timeline-awesome/vendor/htmlburger/carbon-fields/core/Field/File_Field.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function carbon_get_post_meta() in wp-content/plugins/timeline-awesome/public/timeline-styles/timeline-vertical-9.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/timeline-awesome/gutenberg-blocks/timeline-block.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/timeline-awesome/vendor/htmlburger/carbon-fields/core/Field/Set_Field.php:12
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/timeline-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 35
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/timeline-awesome/vendor/htmlburger/carbon-fields/core/Field/Color_Field.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/crb_carbon_fields_container_documentation.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_documentation.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/crb_carbon_fields_container_go_pro.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_go_pro.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #3, #4, #5, #6, #7, #8, #9 in timeline-awesome/assets to your readme.txt
timeline-awesome/timeline-awesome.php Passed 13 tests
"History Timeline for Biography, Company History & Event Timeline" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
36 characters long description:
Timeline and Story WordPress plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin34,973 lines of code in 464 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 183 | 5,309 | 8,775 | 13,665 |
PHP | 176 | 2,951 | 7,226 | 10,158 |
CSS | 16 | 994 | 1,247 | 6,272 |
PO File | 27 | 823 | 1,024 | 2,223 |
Sass | 49 | 370 | 0 | 1,945 |
JSON | 8 | 0 | 0 | 521 |
Markdown | 4 | 45 | 0 | 146 |
SVG | 1 | 0 | 0 | 43 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.01 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 26 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 133 | |
▷ Abstract classes | 11 | 8.27% |
▷ Concrete classes | 122 | 91.73% |
▷ Final classes | 1 | 0.82% |
Methods | 958 | |
▷ Static methods | 107 | 11.17% |
▷ Public methods | 779 | 81.32% |
▷ Protected methods | 169 | 17.64% |
▷ Private methods | 10 | 1.04% |
Functions | 123 | |
▷ Named functions | 35 | 28.46% |
▷ Anonymous functions | 88 | 71.54% |
Constants | 37 | |
▷ Global constants | 12 | 32.43% |
▷ Class constants | 25 | 67.57% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/timeline-bg.png | 0.08KB | 0.10KB | 0.00% |
public/img/date-icon.png | 0.14KB | 0.18KB | 0.00% |
public/img/timeline-vertical-bg.png | 0.91KB | 0.10KB | ▼ 89.19% |
public/img/vertical-8.png | 0.11KB | 0.11KB | ▼ 0.85% |
public/img/date-icon-vertical.png | 0.95KB | 0.17KB | ▼ 82.60% |