Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wp-simile-timeline/inc/WPSimileTimeline.class.php+25
Methods with the same name as their class will not be constructors in a future version of PHP; WPSimileTimeline has a deprecated constructor
Server metrics [RAM: ▼1.53MB] [CPU: ▼48.73ms] Passed 4 tests
An overview of server-side resources used by WP SIMILE Timeline
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.46 ▼1.00 | 5.52 ▼37.13 |
Dashboard /wp-admin | 2.48 ▼0.82 | 7.52 ▼38.53 |
Posts /wp-admin/edit.php | 2.49 ▼0.87 | 9.27 ▼39.67 |
Add New Post /wp-admin/post-new.php | 2.48 ▼3.41 | 8.66 ▼79.60 |
Media Library /wp-admin/upload.php | 2.49 ▼0.75 | 10.27 ▼24.23 |
Server storage [IO: ▲1.20MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 124 new files
Database: 4 new tables, 16 new options
New tables |
---|
wp_stl_timeline_bands |
wp_stl_timeline_hotzones |
wp_stl_timeline_terms |
wp_stl_timeline_decorators |
New WordPress options |
---|
stl_timeline_linkhandling |
widget_theysaidso_widget |
stl_timeline_startdate |
can_compress_scripts |
stl_timeline_plugin_version |
db_upgraded |
stl_timeline_usestartstop |
stl_timeline_showbubbledate |
theysaidso_admin_options |
stl_timelinepageids |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP SIMILE Timeline
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲118 | 13.67 ▼1.07 | 9.67 ▲7.38 | 40.00 ▼3.70 |
Dashboard /wp-admin | 2,204 ▲16 | 5.82 ▲0.76 | 113.08 ▲4.47 | 82.72 ▲40.08 |
Posts /wp-admin/edit.php | 2,099 ▲7 | 2.03 ▲0.03 | 39.34 ▼0.14 | 36.97 ▲1.55 |
Add New Post /wp-admin/post-new.php | 6,643 ▲5,129 | 21.66 ▲4.25 | 942.94 ▲255.41 | 84.48 ▲27.94 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.18 ▼0.01 | 106.01 ▲1.22 | 45.04 ▲0.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wp-simile-timeline/inc/WPSimileTimeline.class.php+25
Methods with the same name as their class will not be constructors in a future version of PHP; WPSimileTimeline has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- category_children
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-simile-timeline/data/timeline.xml.php
- > /wp-content/plugins/wp-simile-timeline/data/timeline.css.php
- > /wp-content/plugins/wp-simile-timeline/data/timeline.js.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query SELECT * FROM wp_stl_timeline_terms WHERE term_id = made by WPSimileTimelineTerm->readTerm
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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:
- Screenshots: These screenshots do not have images: #1 (Timeline Widget Example), #2 (Configuration page), #3 (Content option page), #4 (Design and layout option page), #5 (Plugin Extras: Uninstaller and contextual help)
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
wp-simile-timeline/timeline.php 85% from 13 tests
The principal PHP file in "WP SIMILE Timeline" v. 0.5.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-simile-timeline.php" instead of "timeline.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 427 characters long)
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 plugin10,839 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 30 | 168 | 313 | 5,980 |
PHP | 15 | 624 | 1,280 | 3,112 |
PO File | 5 | 640 | 1,093 | 1,174 |
CSS | 5 | 132 | 104 | 566 |
HTML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 17.90 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 91 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 91 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
59 PNG files occupy 0.58MB with 0.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/timeline_js/images/copyright.png | 1.37KB | 0.68KB | ▼ 49.93% |
screenshot-3.png | 101.75KB | 38.38KB | ▼ 62.28% |
src/timeline_js/images/message-right.png | 1.85KB | 0.38KB | ▼ 79.18% |
src/timeline_ajax/images/message-right.png | 1.85KB | 0.38KB | ▼ 79.18% |
src/timeline_ajax/images/message-bottom-left.png | 1.31KB | 1.08KB | ▼ 17.77% |