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
Install script ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼0.70ms] Passed 4 tests
Server-side resources used by ANG Timeline
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 46.62 ▲1.77 |
Dashboard /wp-admin | 3.51 ▲0.21 | 48.38 ▼4.67 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 53.39 ▲1.70 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 97.79 ▼1.59 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 40.01 ▲4.09 |
All Timelines /wp-admin/edit.php?post_type=timeline | 3.49 | 39.73 |
Events /wp-admin/edit-tags.php?taxonomy=event&post_type=timeline | 3.43 | 36.53 |
Add New /wp-admin/post-new.php?post_type=timeline | 3.65 | 50.28 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_ang-timeline |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ANG Timeline
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲145 | 13.99 ▼0.65 | 16.97 ▲15.09 | 41.54 ▲0.92 |
Dashboard /wp-admin | 2,226 ▲52 | 5.61 ▲0.05 | 93.04 ▼1.93 | 39.16 ▼3.93 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.98 ▼0.01 | 39.89 ▲4.79 | 36.76 ▲4.45 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 23.37 ▲0.37 | 591.33 ▼80.39 | 44.11 ▼6.04 |
Media Library /wp-admin/upload.php | 1,431 ▲28 | 4.20 ▲0.01 | 96.74 ▼2.49 | 45.29 ▼2.21 |
All Timelines /wp-admin/edit.php?post_type=timeline | 1,170 | 2.06 | 32.53 | 32.26 |
Events /wp-admin/edit-tags.php?taxonomy=event&post_type=timeline | 1,305 | 2.25 | 28.07 | 31.63 |
Add New /wp-admin/post-new.php?post_type=timeline | 2,672 | 7.70 | 173.26 | 68.21 |
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: 7 options
- widget_ang-timeline
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ang-timeline/admin/partials/ang-timeline-admin-display.php
- > /wp-content/plugins/ang-timeline/public/partials/ang-timeline-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ang-timeline/public/widgets/timeline-wgt.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Donate link: Invalid URI found ("")
ang-timeline/ang-timeline.php Passed 13 tests
The entry point to "ANG Timeline" version 1.3.5 is a PHP file that has certain tags in its header comment area
42 characters long description:
Timeline tree for WordPress posts and CPT.
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
Good job! No executable or dangerous file extensions detected1,678 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 253 | 721 | 769 |
CSS | 3 | 18 | 116 | 738 |
PO File | 1 | 65 | 67 | 153 |
Markdown | 1 | 9 | 0 | 10 |
JavaScript | 3 | 4 | 54 | 8 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 3 | 6.82% |
▷ Public methods | 39 | 88.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.36% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin