Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼14.18ms] Passed 4 tests
A check of server-side resources used by Admin Amplify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.70 | 40.89 ▼0.83 |
Dashboard /wp-admin | 4.06 ▲0.72 | 52.49 ▼11.18 |
Posts /wp-admin/edit.php | 4.18 ▲0.83 | 55.49 ▲10.09 |
Add New Post /wp-admin/post-new.php | 3.92 ▼1.97 | 41.30 ▼54.81 |
Media Library /wp-admin/upload.php | 3.99 ▲0.76 | 46.43 ▲10.84 |
Forms /wp-admin/edit.php?post_type=wprmakeforms | 4.00 | 38.43 |
Pages /wp-admin/edit.php?post_type=wprmakepages | 4.00 | 37.15 |
Post Types /wp-admin/edit.php?post_type=wprmakecpts | 4.00 | 36.89 |
Admin Amplify /wp-admin/admin.php?page=wpr_admin_amplify | 3.94 | 33.36 |
Custom Meta /wp-admin/edit.php?post_type=wprmakemeta | 4.00 | 37.24 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 41 new files
Database: no new tables, 13 new options
New WordPress options |
---|
cpt_amplify_setngs |
adminpages_amplify_setngs |
db_upgraded |
gen_amplify_setngs |
widget_recent-posts |
usercat_amplify_setngs |
can_compress_scripts |
widget_theysaidso_widget |
postmeta_amplify_setngs |
membership_amplify_setngs |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Amplify
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲182 | 13.89 ▼0.40 | 4.58 ▲3.02 | 39.39 ▼3.50 |
Dashboard /wp-admin | 2,253 ▲76 | 5.13 ▼0.54 | 92.42 ▲4.25 | 70.86 ▲35.60 |
Posts /wp-admin/edit.php | 2,175 ▲75 | 2.41 ▲0.26 | 51.09 ▲15.52 | 38.42 ▲1.43 |
Add New Post /wp-admin/post-new.php | 1,740 ▲214 | 22.46 ▼1.23 | 679.21 ▼42.55 | 36.75 ▼28.15 |
Media Library /wp-admin/upload.php | 1,468 ▲74 | 4.62 ▲0.45 | 115.64 ▲17.08 | 43.84 ▼1.44 |
Forms /wp-admin/edit.php?post_type=wprmakeforms | 1,158 | 2.33 | 44.46 | 31.62 |
Pages /wp-admin/edit.php?post_type=wprmakepages | 1,137 | 2.32 | 37.50 | 31.71 |
Post Types /wp-admin/edit.php?post_type=wprmakecpts | 1,137 | 2.62 | 40.88 | 29.86 |
Admin Amplify /wp-admin/admin.php?page=wpr_admin_amplify | 1,016 | 2.40 | 30.19 | 32.35 |
Custom Meta /wp-admin/edit.php?post_type=wprmakemeta | 1,137 | 2.65 | 39.30 | 30.83 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 13 options
- db_upgraded
- theysaidso_admin_options
- usercat_amplify_setngs
- postmeta_amplify_setngs
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- adminpages_amplify_setngs
- gen_amplify_setngs
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wprmakemeta
- > Notice in wp-content/plugins/wpr-admin-amplify/custtypes.php+192
Undefined index: id
- > GET request to /wp-admin/admin.php?page=wpr_admin_amplify
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=wpr_admin_amplify
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% from 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wpr-admin-amplify/functions.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpr-admin-amplify/admin_make_cptmaker.php:375
- > PHP Fatal error
Uncaught Error: Class 'GenerateSettingsPages' not found in wp-content/plugins/wpr-admin-amplify/usermembershipstuff.php:15
- > PHP Fatal error
Uncaught Error: Class 'GenerateCustType' not found in wp-content/plugins/wpr-admin-amplify/membershipmethods.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpr-admin-amplify/admin_make_formmaker.php:103
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpr-admin-amplify/admin_make_pagemaker.php:392
- > PHP Fatal error
Uncaught Error: Class 'GenerateCustType' not found in wp-content/plugins/wpr-admin-amplify/usercategory.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpr-admin-amplify/admin_make_metamaker.php:269
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wprmakemeta
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wpr-admin-amplify/js/cusadmin.js?ver=6.3.1:12:25)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=6.3.1:2:27292)" undefined
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wprmakemeta
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== wpr-admin-amplify ===
)
wpr-admin-amplify/functions.php 92% from 13 tests
The main PHP script in "Admin Amplify" version 1.3.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wpr-admin-amplify.php" instead of "functions.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected6,924 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 332 | 940 | 4,173 |
JavaScript | 3 | 221 | 328 | 1,916 |
CSS | 4 | 65 | 32 | 421 |
HTML | 1 | 84 | 15 | 414 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 54.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 8.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 96.30% |
▷ Protected methods | 1 | 3.70% |
▷ Private methods | 0 | 0.00% |
Functions | 70 | |
▷ Named functions | 70 | 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
19 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/jqueryui/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/jqueryui/images/ui-bg_inset-hard_100_f5f8f9_1x100.png | 0.33KB | 0.13KB | ▼ 60.36% |
css/jqueryui/images/ui-icons_d8e7f3_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
imgs/grabber.png | 1.67KB | 0.69KB | ▼ 58.84% |
css/jqueryui/images/ui-icons_217bc0_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |