Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲2.16MB] [CPU: ▲5.70ms] Passed 4 tests
A check of server-side resources used by Elite Licenser Lite - Software License Key Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.33 ▲2.87 | 66.47 ▲16.60 |
Dashboard /wp-admin | 6.17 ▲2.87 | 70.98 ▲15.91 |
Posts /wp-admin/edit.php | 6.22 ▲2.86 | 73.44 ▲21.72 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 68.16 ▼31.44 |
Media Library /wp-admin/upload.php | 6.03 ▲2.80 | 64.68 ▲26.99 |
Server storage [IO: ▲7.61MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 398 new files
Database: 13 new tables, 9 new options
New tables |
---|
wp_apbd_license_type |
wp_apbd_product_license |
wp_apbd_email_templates |
wp_apbd_request_manage |
wp_apbd_apikey |
wp_apbd_updateinfo |
wp_apbd_ban_host |
wp_apbd_client |
wp_apbd_domain_log |
wp_apbd_product |
... |
New WordPress options |
---|
widget_recent-comments |
elite-licenser-lite_o_APBDLicenseSettingsLite |
el_addon_last_check |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
el_addon_info |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Elite Licenser Lite - Software License Key Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,038 ▲292 | 13.71 ▼0.70 | 5.66 ▲3.87 | 35.05 ▼12.46 |
Dashboard /wp-admin | 2,340 ▲152 | 4.88 ▲0.01 | 107.68 ▼4.52 | 44.11 ▼0.86 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.01 ▲0.02 | 40.13 ▲2.85 | 35.35 ▲0.86 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 17.37 ▼0.10 | 678.35 ▲23.68 | 54.75 ▲3.96 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.19 ▼0.00 | 94.77 ▼5.53 | 45.63 ▼0.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 13 tables in the database
- wp_apbd_useddomain
- wp_apbd_product_update
- wp_apbd_email_templates
- wp_apbd_client
- wp_apbd_product_license
- wp_apbd_license_type
- wp_apbd_product
- wp_apbd_domain_log
- wp_apbd_ban_host
- wp_apbd_apikey
- ...
- Zombie WordPress options were found after uninstall: 9 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- el_addon_last_check
- widget_theysaidso_widget
- el_addon_info
- elite-licenser-lite_o_APBDLicenseSettingsLite
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 86× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AppsBDModel' not found in wp-content/plugins/elite-licenser-lite/models/database/Mapbd_email_templates.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/elite-licenser-lite/views/apbdlicenselistlite/add.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/elite-licenser-lite/views/apbdproductlistlite/view.php:4
- > PHP Fatal error
Uncaught Error: Class 'AppsBDModel' not found in wp-content/plugins/elite-licenser-lite/models/database/Mapbd_product_update.php:8
- > PHP Fatal error
Uncaught Error: Class 'APBDScriptGeneratorBase' not found in wp-content/plugins/elite-licenser-lite/libs/APBDScriptGeneratorJoomla.php:7
- > PHP Fatal error
Uncaught Error: Class 'Mapbd_license_type' not found in wp-content/plugins/elite-licenser-lite/views/apbdlicensetypelite/add.php:5
- > PHP Fatal error
Uncaught Error: Class 'EliteLicenserLiteModule' not found in wp-content/plugins/elite-licenser-lite/modules/APBDClientLite.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function APBD_LoadCore() in wp-content/plugins/elite-licenser-lite/core/AppsBDModel.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_no_null() in wp-content/plugins/elite-licenser-lite/template/main.php:3
- > PHP Fatal error
Uncaught Error: Class 'EliteLicenserLiteModule' not found in wp-content/plugins/elite-licenser-lite/modules/APBDEmailTemplateLite.php:9
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #0, #4, #5, #6, #7, #8, #9, #10, #11, #12, #13, #14 in elite-licenser-lite/assets to your readme.txt
elite-licenser-lite/elitelicenserlite.php 92% from 13 tests
The main PHP file in "Elite Licenser Lite - Software License Key Manager" ver. 2.3 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("elite-licenser-lite.php" instead of "elitelicenserlite.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Please fix the following items
- Do not include executable or dangerous files in your plugin
- .app - FoxPro Application in Visual FoxPro
- ☣ wp-content/plugins/elite-licenser-lite/sample_script/wp/base.app
- ☣ wp-content/plugins/elite-licenser-lite/sample_script/php/example1.app
- ☣ wp-content/plugins/elite-licenser-lite/sample_script/wp/form-header.app
- ☣ wp-content/plugins/elite-licenser-lite/sample_script/wp/fullplugin.app
- ☣ wp-content/plugins/elite-licenser-lite/sample_script/php/fullplugin.app
- ☣ wp-content/plugins/elite-licenser-lite/sample_script/wp/theme/functions.app
- ☣ wp-content/plugins/elite-licenser-lite/sample_script/wp/header.app
- ☣ wp-content/plugins/elite-licenser-lite/sample_script/wp/plugin_or_function.app
- .app - FoxPro Application in Visual FoxPro
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 185 | 6,652 | 10,433 | 38,994 |
CSS | 36 | 1,950 | 354 | 17,627 |
PHP | 98 | 2,257 | 1,529 | 17,572 |
SVG | 7 | 0 | 0 | 2,856 |
JSON | 3 | 0 | 0 | 1,862 |
LESS | 2 | 30 | 17 | 456 |
Sass | 6 | 26 | 0 | 280 |
PO File | 1 | 67 | 0 | 147 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 36.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 363.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 74.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 54 | |
▷ Abstract classes | 4 | 7.41% |
▷ Concrete classes | 50 | 92.59% |
▷ Final classes | 0 | 0.00% |
Methods | 856 | |
▷ Static methods | 109 | 12.73% |
▷ Public methods | 823 | 96.14% |
▷ Protected methods | 23 | 2.69% |
▷ Private methods | 10 | 1.17% |
Functions | 78 | |
▷ Named functions | 73 | 93.59% |
▷ Anonymous functions | 5 | 6.41% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
uilib/grid/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
uilib/grid/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
images/menu_icon.png | 2.31KB | 1.71KB | ▼ 25.92% |
uilib/grid/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
uilib/grid/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |