Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.12ms] Passed 4 tests
This is a short check of server-side resources used by Scrolling Overlays
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 37.22 ▼4.83 |
Dashboard /wp-admin | 3.35 ▲0.05 | 52.87 ▼0.14 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.65 ▲0.17 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 98.04 ▲0.76 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 35.38 ▲0.33 |
Server storage [IO: ▲10.41MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
These are issues you should consider
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/scrolling-overlays/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 24 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_koptional_overlays |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
koptional_scrolling_overlays_db_version |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Scrolling Overlays: 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,936 ▲175 | 15.93 ▲1.34 | 27.15 ▲25.27 | 35.94 ▼5.82 |
Dashboard /wp-admin | 2,237 ▲37 | 4.86 ▼0.04 | 108.20 ▼8.32 | 45.19 ▼5.58 |
Posts /wp-admin/edit.php | 2,116 ▲19 | 1.98 ▼0.07 | 39.21 ▲1.40 | 34.51 ▼1.27 |
Add New Post /wp-admin/post-new.php | 1,558 ▲27 | 23.26 ▲0.03 | 653.66 ▼28.72 | 64.01 ▲8.80 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.25 ▲0.01 | 94.57 ▼9.59 | 44.22 ▼1.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_koptional_overlays
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- koptional_scrolling_overlays_db_version
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scrolling-overlays/koptional-video-overlay.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (A Youtube Overlay insert) image not found
scrolling-overlays/koptional-video-overlay.php 92% from 13 tests
Analyzing the main PHP file in "Scrolling Overlays" version 0.1.1
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("scrolling-overlays.php" instead of "koptional-video-overlay.php")
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 detected3,353 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 26 | 52 | 2,882 |
PHP | 1 | 34 | 22 | 279 |
JavaScript | 9 | 22 | 365 | 186 |
Markdown | 1 | 2 | 0 | 6 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
demoimage.png | 40.19KB | 14.17KB | ▼ 64.74% |