Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼146.60ms] Passed 4 tests
Server-side resources used by Easy Timeline
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 35.25 ▼0.80 |
Dashboard /wp-admin | 3.11 ▲0.05 | 44.51 ▲1.89 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 45.53 ▲1.49 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.03 | 91.08 ▼579.47 |
Media Library /wp-admin/upload.php | 3.05 ▲0.04 | 28.30 ▼7.62 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=item | 3.04 | 39.90 |
Timeline /wp-admin/edit.php?post_type=item | 3.10 | 37.71 |
Add New /wp-admin/post-new.php?post_type=item | 3.14 | 42.96 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 1 new option
New WordPress options |
---|
category_children |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Timeline
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,733 ▲137 | 15.86 ▲0.33 | 8.36 ▼4.30 | 51.55 ▼1.79 |
Dashboard /wp-admin | 3,012 ▲78 | 5.98 ▼0.06 | 136.27 ▼19.93 | 110.34 ▼8.92 |
Posts /wp-admin/edit.php | 2,781 ▲42 | 2.73 ▲0.01 | 60.05 ▼0.62 | 91.23 ▼1.98 |
Add New Post /wp-admin/post-new.php | 1,700 ▲96 | 18.84 ▼0.04 | 367.18 ▼19.00 | 109.05 ▼4.29 |
Media Library /wp-admin/upload.php | 1,849 ▲39 | 5.03 ▲0.01 | 140.67 ▼36.72 | 121.12 ▼5.00 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=item | 1,952 | 2.39 | 58.63 | 86.42 |
Timeline /wp-admin/edit.php?post_type=item | 1,483 | 2.76 | 60.88 | 77.55 |
Add New /wp-admin/post-new.php?post_type=item | 2,769 | 7.76 | 183.38 | 152.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 1 option in the database
- category_children
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/easy-timeline/includes/easy-timeline-scripts.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-timeline/includes/easy-timeline-cpt.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/easy-timeline/includes/easy-timeline-shortcodes.php:102
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-timeline/includes/easy-timeline-fields.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Responsive timeline section) image required
easy-timeline/easy-timeline.php Passed 13 tests
The main PHP script in "Easy Timeline" version 1.0 is automatically included on every request by WordPress
30 characters long description:
Add a timeline to your website
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin354 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 51 | 29 | 198 |
CSS | 2 | 26 | 1 | 156 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 7 | |
▷ Named functions | 7 | 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
There were not PNG files found in your plugin