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: ▼1.41ms] Passed 4 tests
This is a short check of server-side resources used by Timeline Pro
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.92 ▲0.84 |
Dashboard /wp-admin | 3.34 ▲0.04 | 53.07 ▼0.93 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.88 ▲2.14 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.08 ▼3.95 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.13 ▼1.58 |
Timeline Pro /wp-admin/edit.php?post_type=timeline_pro | 3.31 | 36.55 |
Add New Timeline Pro /wp-admin/post-new.php?post_type=timeline_pro | 3.30 | 41.60 |
Timeline Pro Info /wp-admin/edit.php?post_type=timeline_pro&page=timeline_pro_settings_page | 3.26 | 25.96 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Timeline Pro
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,971 ▲236 | 14.07 ▼0.26 | 5.38 ▲3.37 | 39.38 ▼7.05 |
Dashboard /wp-admin | 2,237 ▲49 | 5.16 ▼0.74 | 132.14 ▲30.55 | 89.51 ▲46.39 |
Posts /wp-admin/edit.php | 2,137 ▲48 | 2.34 ▲0.31 | 39.55 ▲1.93 | 34.13 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,551 ▲37 | 17.58 ▲0.11 | 664.22 ▼12.62 | 39.35 ▼14.04 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.42 ▲0.28 | 101.15 ▼15.17 | 81.96 ▲30.76 |
Timeline Pro /wp-admin/edit.php?post_type=timeline_pro | 1,106 | 2.29 | 33.73 | 31.36 |
Add New Timeline Pro /wp-admin/post-new.php?post_type=timeline_pro | 1,920 | 3.56 | 67.67 | 65.88 |
Timeline Pro Info /wp-admin/edit.php?post_type=timeline_pro&page=timeline_pro_settings_page | 844 | 1.94 | 29.57 | 23.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/timeline-pro/tp-pro.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/timeline-pro/timeline-pro.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/timeline-pro/timeline-meta.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: There are too many tags (18 tag instead of maximum 10)
timeline-pro/timeline-pro.php Passed 13 tests
Analyzing the main PHP file in "Timeline Pro" version 1.3
66 characters long description:
Timeline Pro is pure HTML & CSS timeline style grid for WordPress.
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
Good job! No executable or dangerous file extensions detected1,193 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 316 | 20 | 639 |
CSS | 1 | 94 | 10 | 435 |
JavaScript | 1 | 45 | 5 | 119 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 16 | |
▷ Named functions | 16 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.68MB with 0.59MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/full-view.png | 2.81KB | 0.14KB | ▼ 95.06% |
css/images/featured.png | 3.18KB | 0.67KB | ▼ 78.85% |
css/images/arrow-left.png | 1.01KB | 0.14KB | ▼ 86.02% |
css/images/twitter.png | 3.10KB | 0.38KB | ▼ 87.62% |
css/images/facebook.png | 3.05KB | 0.34KB | ▼ 88.84% |