Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼9.11ms] Passed 4 tests
Analyzing server-side resources used by WP Scarcity Jeet - Powerful scarcity and urgency timer for your landing pages
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.04 | 28.70 ▼15.10 |
Dashboard /wp-admin | 3.44 ▲0.13 | 48.01 ▼8.57 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.26 ▼4.04 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 88.18 ▼8.72 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.85 ▲5.48 |
WP Scarcity Jeet /wp-admin/options-general.php?page=wpscarcityjeet_options | 3.34 | 34.33 |
Server storage [IO: ▲4.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 59 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
wpsj_settings |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
WP Scarcity Jeet - Powerful scarcity and urgency timer for your landing pages: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲177 | 13.68 ▼1.07 | 9.16 ▲7.24 | 45.00 ▲1.74 |
Dashboard /wp-admin | 2,213 ▲28 | 5.91 ▲0.01 | 100.69 ▼4.38 | 38.34 ▼5.11 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.02 | 41.05 ▲7.21 | 39.90 ▲5.22 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.27 ▲0.19 | 678.56 ▲0.34 | 52.51 ▼13.34 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.23 ▼0.00 | 97.89 ▼1.98 | 43.99 ▲0.81 |
WP Scarcity Jeet /wp-admin/options-general.php?page=wpscarcityjeet_options | 858 | 2.01 | 30.21 | 67.67 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- wpsj_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/scarcity-jeet/wpscarcityjeet_top.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function Wpscarcityjeet\\license\\add_action() in wp-content/plugins/scarcity-jeet/wpscarcityjeet-sequence/plugin.php:22
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/scarcity-jeet/wpscarcityjeet_bot.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/scarcity-jeet/wpscarcityjeet-sequence/user_not_verified_bonus.php:19
- > PHP Notice
Undefined variable: options in wp-content/plugins/scarcity-jeet/wpscarcityjeet_top.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/scarcity-jeet/wpscarcityjeet_top.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/scarcity-jeet/wpscarcityjeet_bot.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/scarcity-jeet/js/init.js.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/scarcity-jeet/js/initialize.js.php:2
- > PHP Notice
Undefined variable: options in wp-content/plugins/scarcity-jeet/wpscarcityjeet_bot.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues 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
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2 in scarcity-jeet/assets to your readme.txt
scarcity-jeet/wpscarcityjeet.php 92% from 13 tests
The primary PHP file in "WP Scarcity Jeet - Powerful scarcity and urgency timer for your landing pages" version 1.0.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("scarcity-jeet.php" instead of "wpscarcityjeet.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 detected28,146 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 2,226 | 108 | 16,865 |
JavaScript | 11 | 2,207 | 1,838 | 9,863 |
PHP | 11 | 114 | 39 | 1,417 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 12 | 75.00% |
▷ Anonymous functions | 4 | 25.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.04MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) images/tekniklogo.png | 2.22KB | 0.00KB | ▼ 100.00% |
images/product_box.png | 21.56KB | 7.55KB | ▼ 64.96% |
(invalid) tekniklogo.png | 2.22KB | 0.00KB | ▼ 100.00% |
(invalid) wpscarcityjeet-sequence/asset/img/blue-icon-security.png | 13.74KB | 0.00KB | ▼ 100.00% |