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: ▲0.04MB] [CPU: ▼3.04ms] Passed 4 tests
Server-side resources used by Timelines
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.94 ▲0.24 |
Dashboard /wp-admin | 3.35 ▲0.04 | 49.59 ▼2.64 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.66 ▼3.18 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.09 ▼6.59 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.59 ▲0.96 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Timelines: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.57 ▼0.12 | 1.82 ▼0.25 | 43.89 ▼1.15 |
Dashboard /wp-admin | 2,198 ▲18 | 5.57 ▼0.10 | 86.43 ▼12.98 | 43.38 ▼0.06 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.14 ▲0.14 | 36.17 ▼0.50 | 33.90 ▼4.63 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.36 ▲0.34 | 605.16 ▼88.05 | 60.36 ▲7.21 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.17 ▼0.23 | 94.59 ▼11.42 | 43.70 ▼3.60 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% 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 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/timelinejs/templates/timeline-javascript-template.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: div_id in wp-content/plugins/timelinejs/templates/timeline-javascript-template.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/timelinejs/timeline-post-categories.php:129
- > PHP Notice
Undefined variable: timeline_object in wp-content/plugins/timelinejs/templates/timeline-javascript-template.php on line 2
- > PHP Notice
Undefined variable: div_id in wp-content/plugins/timelinejs/templates/timeline-javascript-template.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== timelinejs ===
)
timelinejs/timeline.php 85% from 13 tests
The entry point to "Timelines" version 1.05 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 153 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("timelinejs.php" instead of "timeline.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,405 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 253 | 17 | 2,405 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 19 | |
▷ Named functions | 19 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
29 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/pinterest.png | 3.95KB | 1.89KB | ▼ 52.14% |
img/layers-2x.png | 2.83KB | 1.67KB | ▼ 41.10% |
img/paypal.png | 2.90KB | 1.34KB | ▼ 53.75% |
img/blogger.png | 2.93KB | 1.28KB | ▼ 56.23% |
img/linkedin.png | 2.70KB | 1.05KB | ▼ 61.20% |