Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.83ms] Passed 4 tests
Analyzing server-side resources used by Simple Vertical Timeline
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 36.59 ▼6.23 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.40 ▼4.39 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 46.82 ▼6.39 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 92.95 ▼10.29 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.74 ▼0.77 |
Simple Vertical Timeline /wp-admin/options-general.php?page=SVTPreference | 3.33 | 32.92 |
Server storage [IO: ▲2.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 160 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
svt_is_enable_social_media |
db_upgraded |
svt_signe |
svt_analitycs |
widget_recent-posts |
Browser metrics Passed 4 tests
Simple Vertical Timeline: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 13.43 ▼0.92 | 8.39 ▲6.48 | 46.65 ▲1.52 |
Dashboard /wp-admin | 2,190 ▲16 | 5.55 ▼0.10 | 92.29 ▼7.45 | 38.10 ▼5.63 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.00 | 40.48 ▲2.49 | 38.18 ▲1.55 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.11 ▼0.41 | 668.42 ▼37.42 | 57.74 ▼9.32 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.16 ▼0.04 | 96.97 ▼10.27 | 46.67 ▲1.58 |
Simple Vertical Timeline /wp-admin/options-general.php?page=SVTPreference | 1,076 | 2.00 | 27.24 | 31.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-vertical-timeline/admin/svt-settings.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/simple-vertical-timeline/admin/views/html-settings-page.inc.php:69
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: There are too many tags (31 tag instead of maximum 10)
simple-vertical-timeline/simple-vertical-timeline.php 92% from 13 tests
"Simple Vertical Timeline" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin14,203 lines of code in 120 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 6,563 |
HTML | 1 | 172 | 2 | 2,585 |
Sass | 84 | 531 | 778 | 2,314 |
CSS | 6 | 21 | 14 | 1,226 |
PHP | 4 | 177 | 158 | 508 |
PO File | 2 | 70 | 79 | 348 |
JavaScript | 6 | 11 | 145 | 226 |
SVG | 11 | 0 | 0 | 219 |
CoffeeScript | 2 | 26 | 26 | 96 |
Bourne Shell | 1 | 23 | 8 | 67 |
Markdown | 1 | 24 | 0 | 51 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 3 | 10.34% |
▷ Public methods | 28 | 96.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.45% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 7 | |
▷ Global constants | 2 | 28.57% |
▷ Class constants | 5 | 71.43% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
18 PNG files occupy 0.45MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 166.08KB | 59.85KB | ▼ 63.96% |
js/svtplugin/img/timeevent.png | 2.06KB | 1.51KB | ▼ 26.66% |
admin/images/logo.png | 9.39KB | 3.67KB | ▼ 60.88% |
assets/screenshot-1.png | 99.84KB | 31.65KB | ▼ 68.30% |
admin/images/bug.png | 0.72KB | 0.71KB | 0.41% |