Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼1.95MB] [CPU: ▼59.94ms] Passed 4 tests
Server-side resources used by WP images upload on piclect
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.04 ▼1.42 | 4.22 ▼38.87 |
Dashboard /wp-admin | 2.06 ▼1.28 | 6.04 ▼61.70 |
Posts /wp-admin/edit.php | 2.07 ▼1.29 | 5.78 ▼41.72 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.82 | 5.76 ▼97.48 |
Media Library /wp-admin/upload.php | 2.06 ▼1.16 | 5.11 ▼32.48 |
Server storage [IO: ▲2.27MB] [DB: ▲0.08MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 11 new files
Database: 2 new tables, 12 new options
New tables |
---|
wp_kuaza_piclect_upload |
wp_kuaza_piclect_upload_kategori |
New WordPress options |
---|
widget_recent-comments |
kuaza_up_config_sitekey |
widget_theysaidso_widget |
kuaza_up_config_upapilink |
kuaza_up_config_birkeredeuploadsayisi |
theysaidso_admin_options |
kuaza_up_config_cssupload |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP images upload on piclect
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲149 | 13.46 ▼0.89 | 11.49 ▲9.47 | 40.18 ▼1.67 |
Dashboard /wp-admin | 2,214 ▲34 | 5.57 ▼0.08 | 86.07 ▼6.46 | 39.28 ▼0.98 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.01 ▲0.05 | 33.09 ▼3.48 | 37.07 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,539 ▲10 | 23.11 ▼0.01 | 644.76 ▲55.95 | 49.71 ▲1.10 |
Media Library /wp-admin/upload.php | 1,413 ▲19 | 4.16 ▼0.03 | 98.52 ▼7.55 | 45.86 ▲1.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- The uninstall procedure failed, leaving 2 tables in the database
- wp_kuaza_piclect_upload
- wp_kuaza_piclect_upload_kategori
- Zombie WordPress options were found after uninstall: 12 options
- widget_theysaidso_widget
- kuaza_up_config_cssupload
- widget_recent-posts
- theysaidso_admin_options
- kuaza_up_config_sitekey
- can_compress_scripts
- widget_recent-comments
- kuaza_up_config_acik
- kuaza_up_config_sitesecret
- kuaza_up_config_birkeredeuploadsayisi
- ...
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Image upload form area (simple and clean)), #2 (Select images after open new area for details), #3 (Upload after :))
wp-images-upload-on-piclect/wp-images-upload-on-Piclect.php 85% from 13 tests
"WP images upload on piclect" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-images-upload-on-piclect.php" instead of "wp-images-upload-on-Piclect.php")
- Description: Keep the plugin description shorter than 140 characters (currently 198 characters long)
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
There were no executable files found in this plugin1,311 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 204 | 95 | 1,120 |
PO File | 1 | 80 | 89 | 190 |
JavaScript | 1 | 0 | 7 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 54.00 |
▷ Minimum class complexity | 54.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 4.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 2.17MB with 1.47MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 6.99KB | 2.68KB | ▼ 61.65% |
screenshot-2.png | 39.08KB | 12.29KB | ▼ 68.56% |
screenshot-3.png | 2,178.60KB | 589.88KB | ▼ 72.92% |