Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.54MB] [CPU: ▼119.06ms] Passed 4 tests
This is a short check of server-side resources used by WP Timeliner
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.33 ▲2.61 | 56.97 ▲32.45 |
Dashboard /wp-admin | 5.59 ▲2.53 | 69.50 ▲18.79 |
Posts /wp-admin/edit.php | 5.64 ▲2.53 | 69.91 ▲21.48 |
Add New Post /wp-admin/post-new.php | 8.10 ▲2.66 | 119.88 ▼534.26 |
Media Library /wp-admin/upload.php | 5.51 ▲2.50 | 53.33 ▲17.77 |
Tags /wp-admin/edit-tags.php?taxonomy=wpt-tag&post_type=wpt-achievement | 5.54 | 52.97 |
Timelines /wp-admin/edit-tags.php?taxonomy=wpt-timeline&post_type=wpt-achievement | 5.57 | 58.69 |
WP Timeliner /wp-admin/options-general.php?page=wp-timeliner-options | 5.54 | 58.15 |
All Achievements /wp-admin/edit.php?post_type=wpt-achievement | 5.59 | 54.55 |
New Achievement /wp-admin/post-new.php?post_type=wpt-achievement | 8.17 | 122.63 |
Server storage [IO: ▲5.75MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 549 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Timeliner
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,065 ▲483 | 21.54 ▲6.11 | 9.76 ▲3.96 | 54.35 ▲2.23 |
Dashboard /wp-admin | 3,277 ▲343 | 11.30 ▲5.28 | 226.53 ▲79.80 | 123.25 ▲0.17 |
Posts /wp-admin/edit.php | 3,088 ▲349 | 7.16 ▲4.46 | 147.38 ▲76.47 | 89.56 ▼1.10 |
Add New Post /wp-admin/post-new.php | 1,690 ▲7 | 25.57 ▲6.85 | 333.70 ▼69.65 | 113.20 ▼12.88 |
Media Library /wp-admin/upload.php | 2,008 ▲201 | 7.97 ▲2.96 | 197.63 ▲36.44 | 113.46 ▼13.58 |
Tags /wp-admin/edit-tags.php?taxonomy=wpt-tag&post_type=wpt-achievement | 2,070 | 7.14 | 140.24 | 84.07 |
Timelines /wp-admin/edit-tags.php?taxonomy=wpt-timeline&post_type=wpt-achievement | 2,152 | 7.31 | 156.11 | 101.62 |
WP Timeliner /wp-admin/options-general.php?page=wp-timeliner-options | 1,512 | 7.54 | 172.12 | 111.95 |
All Achievements /wp-admin/edit.php?post_type=wpt-achievement | 1,774 | 7.13 | 145.06 | 82.89 |
New Achievement /wp-admin/post-new.php?post_type=wpt-achievement | 10,906 | 25.27 | 757.06 | 324.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-timeliner/libraries/carbon-fields-plugins/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/wp-timeliner/classes/themes/minimalist/templates/timeline.php
- 211× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-timeliner/libraries/carbon-fields-plugins/vendor/htmlburger/carbon-fields/templates/Container/term_meta.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/wp-timeliner/libraries/carbon-fields-plugins/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Ancestor_ID_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Scripts_Field' not found in wp-content/plugins/wp-timeliner/libraries/carbon-fields-plugins/vendor/htmlburger/carbon-fields/core/Field/Footer_Scripts_Field.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-timeliner/libraries/carbon-fields-plugins/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installer\\LibraryInstaller' not found in wp-content/plugins/wp-timeliner/libraries/carbon-fields-plugins/vendor/composer/installers/src/Composer/Installers/Installer.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-timeliner/libraries/carbon-fields-plugins/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-timeliner/libraries/carbon-fields-plugins/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/wp-timeliner/libraries/carbon-fields-plugins/vendor/htmlburger/carbon-fields/core/Field/Multiselect_Field.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-timeliner/libraries/carbon-fields-plugins/vendor/composer/installers/src/Composer/Installers/AglInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-timeliner/libraries/carbon-fields-plugins/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: event, history, achievement, success, timeline
wp-timeliner/wp-timeliner.php Passed 13 tests
"WP Timeliner" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
98 characters long description:
Create highly-customizable timelines in WordPress and display achievements in a chronological way.
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
No dangerous file extensions were detected85,479 lines of code in 507 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 148 | 15,857 | 27,331 | 65,293 |
PHP | 282 | 3,062 | 7,618 | 11,689 |
JSON | 16 | 0 | 0 | 3,549 |
PO File | 16 | 1,463 | 2,092 | 3,368 |
Markdown | 8 | 179 | 0 | 736 |
CSS | 34 | 303 | 165 | 708 |
Sass | 1 | 18 | 1 | 112 |
XML | 1 | 6 | 13 | 23 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 5.49 |
▷ 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 | 43 | |
Interfaces | 6 | |
Traits | 2 | |
Classes | 241 | |
▷ Abstract classes | 19 | 7.88% |
▷ Concrete classes | 222 | 92.12% |
▷ Final classes | 1 | 0.45% |
Methods | 1,101 | |
▷ Static methods | 117 | 10.63% |
▷ Public methods | 872 | 79.20% |
▷ Protected methods | 207 | 18.80% |
▷ Private methods | 22 | 2.00% |
Functions | 123 | |
▷ Named functions | 35 | 28.46% |
▷ Anonymous functions | 88 | 71.54% |
Constants | 51 | |
▷ Global constants | 18 | 35.29% |
▷ Class constants | 33 | 64.71% |
▷ Public constants | 33 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
classes/themes/minimalist/assets/theme-icon.png | 6.85KB | 3.10KB | ▼ 54.79% |
classes/themes/snake/assets/theme-icon.png | 6.66KB | 3.09KB | ▼ 53.62% |