Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼6.73ms] Passed 4 tests
Server-side resources used by Paragon Profile
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 38.76 ▼8.72 |
Dashboard /wp-admin | 3.51 ▲0.16 | 51.42 ▼12.13 |
Posts /wp-admin/edit.php | 3.63 ▲0.26 | 50.26 ▼1.34 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 96.60 ▼4.74 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 41.64 ▲4.78 |
Paragon Profile Settings /wp-admin/options-general.php?page=pp_settings_option | 3.42 | 40.72 |
Server storage [IO: ▲0.79MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 79 new files
Database: no new tables, 12 new options
New WordPress options |
---|
pp_ppcontact |
pp_formtoken |
widget_recent-comments |
db_upgraded |
pp_ppregister |
theysaidso_admin_options |
pp_pplogin |
widget_recent-posts |
pp_pppasswordrecovery |
pp_ppprofile |
... |
Browser metrics Passed 4 tests
Paragon Profile: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,724 ▼22 | 13.50 ▼0.85 | 9.70 ▲8.01 | 51.01 ▲10.09 |
Dashboard /wp-admin | 2,208 ▲28 | 5.63 ▲0.01 | 85.20 ▲1.27 | 39.15 ▼0.80 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.20 ▲0.26 | 33.64 ▼1.99 | 35.89 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.77 ▲0.22 | 617.57 ▼98.58 | 50.49 ▼0.82 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.23 ▲0.14 | 99.52 ▼18.32 | 48.46 ▲1.80 |
Paragon Profile Settings /wp-admin/options-general.php?page=pp_settings_option | 1,409 | 2.09 | 40.52 | 55.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 12 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- pp_formtoken
- pp_ppregister
- pp_ppcontact
- pp_ppprofile
- pp_pppasswordrecovery
- pp_pplogin
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=pp_settings_option
- > Warning in wp-content/plugins/paragon-profile/admin/PProfileSettingsPage.php+221
Invalid argument supplied for foreach()
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=pp_settings_option
- > Network (severe)
wp-content/plugins/paragon-profile/css/paraadmincss2.css?ver=6.3.1 - 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
7 plugin tags: password recovery, profile, secure forms, ajax form, registraion...
paragon-profile/paragon-profile.php 92% from 13 tests
The principal PHP file in "Paragon Profile" v. 1.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 152 characters long)
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
Everything looks great! No dangerous files found in this plugin2,525 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 233 | 82 | 1,416 |
CSS | 9 | 115 | 34 | 553 |
SVG | 1 | 0 | 0 | 288 |
JavaScript | 5 | 62 | 25 | 268 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 11.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 7 | 13.21% |
▷ Public methods | 53 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
30 PNG files occupy 0.20MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
css/images/ui-bg_diagonal-maze_40_000000_10x10.png | 0.23KB | 0.11KB | ▼ 52.72% |
css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
css/images/ui-icons_b83400_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
js/images/ui-icons_b83400_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |