Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.34ms] Passed 4 tests
Server-side resources used by Sticky Ads LightWeight
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.83 ▲0.49 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.32 ▼6.36 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.97 ▼4.10 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.16 ▼5.33 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.27 ▼5.57 |
Sticky Ad Lightweight /wp-admin/options-general.php?page=sticky-ad-lightweight | 3.23 | 36.95 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Sticky Ads LightWeight
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.03 | 1.62 ▼0.07 | 43.12 ▲2.51 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▼0.04 | 90.68 ▼1.25 | 39.32 ▼1.46 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▲0.03 | 35.15 ▲0.51 | 37.73 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.17 ▲0.09 | 659.03 ▼87.34 | 56.41 ▼12.93 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.11 ▼0.15 | 114.81 ▲3.41 | 46.58 ▼1.20 |
Sticky Ad Lightweight /wp-admin/options-general.php?page=sticky-ad-lightweight | 895 | 2.16 | 28.93 | 34.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2 in sticky-ad-lightweight/assets to your readme.txt
sticky-ad-lightweight/sticky-ad-lightweight.php Passed 13 tests
This is the main PHP file of "Sticky Ads LightWeight" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
88 characters long description:
Start earning more with Sticky Ad Lightweight! Easily setup your ad code here and enjoy!
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
No dangerous file extensions were detected148 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 34 | 148 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/close.png | 0.70KB | 0.54KB | ▼ 22.42% |