Benchmarks
Plugin footprint 82% 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.13MB] [CPU: ▼14.19ms] Passed 4 tests
Server-side resources used by iCafe VPP Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.11 ▼0.35 | 24.47 ▼21.58 |
Dashboard /wp-admin | 3.61 ▲0.26 | 52.84 ▼11.94 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 48.00 ▼10.76 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 87.75 ▼12.46 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 39.19 ▼1.18 |
Program Admins /wp-admin/admin.php?page=icafe_vpp-Program-Facilitator-Admin | 3.47 | 32.41 |
Program Manager /wp-admin/admin.php?page=icafe_vpp-Program-Manager-Admin | 3.50 | 37.59 |
Self-Serve Config /wp-admin/admin.php?page=icafe_vpp-Config | 3.50 | 32.92 |
New Program Config /wp-admin/admin.php?page=icafe_vpp_new_program-Config | 3.50 | 32.26 |
Program Facilitators /wp-admin/admin.php?page=icafe_vpp-Manage-VPP-Accounts | 3.50 | 34.52 |
Enterprise Owned iTunes Account /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts | 3.47 | 29.11 |
iCafe VPP /wp-admin/admin.php?page=icafe_vpp-admin | 3.50 | 32.07 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: 3 new tables, 32 new options
New tables |
---|
wp_icafe_vpp_programs |
wp_icafe_vpp_apps |
wp_icafe_vpp_vouchers |
New WordPress options |
---|
global_appleid_sec3_answer |
icafe_vpp_facilitator_ids |
global_appleid_change_interval |
widget_recent-comments |
icafe_vpp_current_appleid_pw |
db_upgraded |
global_appleid_sec2_answer |
can_compress_scripts |
icafe_vpp_program_manager_itunes_account |
icafe_vpp_new_pf_sec_a |
... |
Browser metrics 50% from 4 tests
A check of browser resources used by iCafe VPP Manager
A great user experience is important, so you should focus on the following
- Memory: In order to improve user experience, please limit browser memory usage to 75.00MB (currently 122.82MB on /wp-admin/admin.php?page=icafe_vpp-admin)
- Script duration: Please improve your JavaScript code, lowering total execution time to less than 1,500.00ms (currently 3,536.18ms on /wp-admin/admin.php?page=icafe_vpp-admin)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲150 | 13.62 ▼0.74 | 10.36 ▲8.31 | 42.43 ▲0.01 |
Dashboard /wp-admin | 2,238 ▲61 | 5.55 ▼0.09 | 98.59 ▲10.35 | 41.44 ▼1.65 |
Posts /wp-admin/edit.php | 2,146 ▲46 | 2.02 ▲0.02 | 35.44 ▼8.06 | 33.69 ▼8.52 |
Add New Post /wp-admin/post-new.php | 1,574 ▲46 | 18.13 ▼5.20 | 648.83 ▼25.34 | 68.30 ▲1.63 |
Media Library /wp-admin/upload.php | 1,446 ▲46 | 4.20 ▼0.06 | 98.81 ▼20.34 | 42.90 ▼5.96 |
Program Admins /wp-admin/admin.php?page=icafe_vpp-Program-Facilitator-Admin | 849 | 2.04 | 25.68 | 28.44 |
Program Manager /wp-admin/admin.php?page=icafe_vpp-Program-Manager-Admin | 948 | 2.01 | 22.87 | 27.67 |
Self-Serve Config /wp-admin/admin.php?page=icafe_vpp-Config | 958 | 2.01 | 24.32 | 31.35 |
New Program Config /wp-admin/admin.php?page=icafe_vpp_new_program-Config | 1,644 | 2.13 | 23.75 | 26.26 |
Program Facilitators /wp-admin/admin.php?page=icafe_vpp-Manage-VPP-Accounts | 893 | 2.05 | 26.16 | 25.84 |
Enterprise Owned iTunes Account /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts | 1,131 | 2.01 | 22.65 | 39.05 |
iCafe VPP /wp-admin/admin.php?page=icafe_vpp-admin | 10,545 | 122.82 | 3,536.18 | 96.61 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Program-Facilitator-Admin
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+1699
Undefined index: state
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2247
Undefined variable: qa1
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2248
Undefined variable: qa2
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2249
Undefined variable: qa3
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2250
Undefined variable: qa4
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2251
Undefined variable: qa5
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2252
Undefined variable: qa6
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2260
Undefined variable: qb1
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2261
Undefined variable: qb2
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2262
Undefined variable: qb3
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2263
Undefined variable: qb4
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2264
Undefined variable: qb5
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2265
Undefined variable: qb6
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2273
Undefined variable: qc1
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2274
Undefined variable: qc2
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2275
Undefined variable: qc3
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2276
Undefined variable: qc4
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Notice in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php+2277
Undefined variable: qc5
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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/icafe-vpp-manager/icafe-vpp.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=icafe_vpp-Manage-Global_iTunes-Accounts
- > Network (severe)
wp-content/plugins/icafe-vpp-manager/css/img/utilities.gif - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
9 plugin tags: itunes, vouchers, volume purchase program, app store, icafe...
icafe-vpp-manager/icafe-vpp.php 92% from 13 tests
This is the main PHP file of "iCafe VPP Manager" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
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 ("icafe-vpp-manager.php" instead of "icafe-vpp.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 detected2,330 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 532 | 165 | 2,074 |
CSS | 1 | 7 | 3 | 129 |
JavaScript | 3 | 12 | 15 | 111 |
XML | 3 | 0 | 0 | 16 |
PHP code Passed 2 tests
An short overview of 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.18 |
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 | 23 | |
▷ Named functions | 23 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin