Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.11MB] [CPU: ▼12.08ms] Passed 4 tests
This is a short check of server-side resources used by Top 3 Lottery Jackpots
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.58 ▼3.45 |
Dashboard /wp-admin | 3.30 ▼0.00 | 43.24 ▼7.54 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.37 ▲2.52 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 73.42 ▼31.62 |
Media Library /wp-admin/upload.php | 3.21 ▼0.01 | 32.39 ▼5.70 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
top3jps_lottodata |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Top 3 Lottery Jackpots
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,281 ▲546 | 13.95 ▼0.43 | 8.86 ▲7.04 | 41.37 ▼5.50 |
Dashboard /wp-admin | 2,346 ▲161 | 4.97 ▼0.96 | 97.09 ▼23.35 | 40.15 ▼4.40 |
Posts /wp-admin/edit.php | 2,241 ▲155 | 2.29 ▲0.32 | 41.35 ▲7.47 | 34.71 ▲0.67 |
Add New Post /wp-admin/post-new.php | 1,640 ▲121 | 23.57 ▲0.29 | 674.49 ▲9.47 | 38.79 ▼11.23 |
Media Library /wp-admin/upload.php | 1,529 ▲141 | 4.48 ▲0.27 | 104.53 ▼11.77 | 45.66 ▼1.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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
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 90% from 29 tests
readme.txt 88% 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
Attributes that need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in top-3-jackpots/assets to your readme.txt
top-3-jackpots/index.php 92% from 13 tests
Analyzing the main PHP file in "Top 3 Lottery Jackpots" version 1.0.7
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("top-3-jackpots.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,456 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 85 | 2 | 586 |
PHP | 9 | 191 | 139 | 499 |
JavaScript | 4 | 57 | 67 | 371 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logos/25.png | 8.37KB | 3.30KB | ▼ 60.55% |
logos/8.png | 6.20KB | 3.09KB | ▼ 50.20% |
logos/18.png | 5.28KB | 2.72KB | ▼ 48.57% |
logos/3.png | 4.74KB | 2.44KB | ▼ 48.48% |
logos/2.png | 2.75KB | 2.24KB | ▼ 18.57% |