Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.51ms] Passed 4 tests
An overview of server-side resources used by Tismy User Profile Upload
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.97 ▼10.68 |
Dashboard /wp-admin | 3.34 ▼0.00 | 52.96 ▼16.05 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 53.54 ▼0.18 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.08 ▼15.12 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.31 ▲2.45 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Tismy User Profile Upload
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,058 ▲312 | 15.13 ▲0.76 | 7.43 ▲5.60 | 41.75 ▼6.83 |
Dashboard /wp-admin | 2,354 ▲166 | 6.48 ▲1.57 | 133.60 ▲14.78 | 43.81 ▲2.24 |
Posts /wp-admin/edit.php | 2,260 ▲168 | 3.39 ▲1.38 | 55.27 ▲18.90 | 41.42 ▲8.23 |
Add New Post /wp-admin/post-new.php | 1,676 ▲157 | 22.14 ▼1.08 | 627.36 ▼28.11 | 31.80 ▼33.75 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.22 ▲0.01 | 83.35 ▼38.01 | 43.87 ▼5.10 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tismy-user-profile-upload/public/partials/tismy-user-profile-upload-public-display.php
- > /wp-content/plugins/tismy-user-profile-upload/admin/partials/tismy-user-profile-upload-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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 require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== tismy-user-profile-upload ===
)
tismy-user-profile-upload/tismy-user-profile-upload.php Passed 13 tests
The main file in "Tismy User Profile Upload" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
124 characters long description:
Upload your own user profile picture rather than falling back to the default or having your users create a Gravatar account.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin321 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 139 | 547 | 246 |
JavaScript | 3 | 41 | 112 | 65 |
CSS | 3 | 1 | 8 | 10 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin