Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.47ms] Passed 4 tests
A check of server-side resources used by Lucky Orange
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 45.21 ▲2.33 |
Dashboard /wp-admin | 3.35 ▲0.04 | 46.05 ▼4.58 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.18 ▲3.01 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 97.97 ▲11.25 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.76 ▼2.63 |
Settings /wp-admin/admin.php?page=lucky-orange-settings | 3.24 | 32.49 |
Lucky Orange /wp-admin/options-general.php?page=lucky-orange-settings | 3.24 | 32.02 |
Dashboard /wp-admin/admin.php?page=lucky-orange | 3.22 | 37.57 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
lo_uuid |
lo_setup |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Lucky Orange
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲115 | 13.26 ▼1.11 | 1.70 ▼0.42 | 41.43 ▼8.56 |
Dashboard /wp-admin | 2,289 ▲101 | 5.84 ▲0.04 | 95.85 ▼18.29 | 39.07 ▼3.50 |
Posts /wp-admin/edit.php | 2,176 ▲87 | 2.01 ▲0.00 | 35.17 ▼2.40 | 35.01 ▲1.61 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 23.31 ▼0.05 | 585.94 ▼119.67 | 53.27 ▼6.12 |
Media Library /wp-admin/upload.php | 1,474 ▲89 | 4.26 ▲0.06 | 95.70 ▼14.79 | 40.00 ▼6.72 |
Settings /wp-admin/admin.php?page=lucky-orange-settings | 868 | 2.04 | 24.29 | 26.75 |
Lucky Orange /wp-admin/options-general.php?page=lucky-orange-settings | 868 | 2.04 | 24.28 | 28.26 |
Dashboard /wp-admin/admin.php?page=lucky-orange | 1,265 | 21.96 | 711.33 | 84.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 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 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/lucky-orange/lucky_wordpress.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=lucky-orange
- > Other (warning) in unknown
https://app.luckyorange.com/assets/index.17b0fbce.js 948 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
- > GET request to /wp-admin/admin.php?page=lucky-orange
- > Console-api (severe) in unknown
https://app.luckyorange.com/assets/index.17b0fbce.js 8:25142 TypeError: Cannot read properties of undefined (reading 'addEventListener')at o.created (https://app.luckyorange.com/assets/index.17b0fbce.js:917:78635)at Qa (https://app.luckyorange.com/assets/index.17b0fbce.js:9:24836)at Xn (https://app.luckyorange.com/assets/index.17b0fbce.js:9:33741)at Lq.i._init (https://app.luckyorange.com/assets/index.17b0fbce.js:9:44198)at new o (https://app.luckyorange.com/assets/index.17b0fbce.js:9:45457)at fq (https://app.luckyorange.com/assets/index.17b0fbce.js:9:38079)at init (https://app.luckyorange.com/assets/index.17b0fbce.js:9:36920)at d (https://app.luckyorange.com/assets/index.17b0fbce.js:9:54485)at u (https://app.luckyorange.com/assets/index.17b0fbce.js:9:54107)at f (https://app.luckyorange.com/assets/index.17b0fbce.js:9:55091)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% 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:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Screenshot #7 (Form Analytics) image not found
- Contributors: Contributors not specified
lucky-orange/lucky_wordpress.php 92% from 13 tests
The main PHP file in "Lucky Orange" ver. 2.1.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("lucky-orange.php" instead of "lucky_wordpress.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
No dangerous file extensions were detected198 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 20 | 198 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin