Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.79MB] [CPU: ▼31.28ms] Passed 4 tests
This is a short check of server-side resources used by Pic Sell
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 39.49 ▼6.43 |
Dashboard /wp-admin | 3.16 ▼0.18 | 29.32 ▼34.96 |
Posts /wp-admin/edit.php | 3.16 ▼0.19 | 26.77 ▼20.21 |
Add New Post /wp-admin/post-new.php | 3.16 ▼2.73 | 29.23 ▼60.96 |
Media Library /wp-admin/upload.php | 3.16 ▼0.07 | 27.92 ▼8.98 |
All private spaces /wp-admin/edit.php?post_type=espaceprive | 3.16 | 24.10 |
Add private space /wp-admin/post-new.php?post_type=espaceprive | 3.16 | 28.50 |
Settings /wp-admin/admin.php?page=picsell_settings-pic | 3.16 | 25.69 |
Orders /wp-admin/admin.php?page=picsell_page_commandes | 3.16 | 24.81 |
Offer packs /wp-admin/edit.php?post_type=offre | 3.16 | 25.66 |
Category offer /wp-admin/edit-tags.php?taxonomy=offre_category&post_type=offre | 3.16 | 21.97 |
Dashboard /wp-admin/admin.php?page=picsell | 3.16 | 24.80 |
Server storage [IO: ▲2.83MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Pic Sell: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,100 ▲354 | 15.41 ▲1.03 | 5.08 ▲3.39 | 42.75 ▲0.84 |
Dashboard /wp-admin | 2,422 ▲233 | 6.75 ▲1.84 | 129.84 ▲12.85 | 40.76 ▼0.74 |
Posts /wp-admin/edit.php | 2,332 ▲240 | 3.75 ▲1.73 | 69.49 ▲31.82 | 35.08 ▲1.68 |
Add New Post /wp-admin/post-new.php | 1,569 ▲40 | 23.31 ▲5.06 | 623.62 ▼26.71 | 54.33 ▲1.51 |
Media Library /wp-admin/upload.php | 1,465 ▲77 | 4.42 ▲0.19 | 95.30 ▼7.39 | 41.68 ▼4.07 |
All private spaces /wp-admin/edit.php?post_type=espaceprive | 1,301 | 3.72 | 61.27 | 28.16 |
Add private space /wp-admin/post-new.php?post_type=espaceprive | 2,648 | 7.94 | 172.55 | 72.76 |
Settings /wp-admin/admin.php?page=picsell_settings-pic | 1,733 | 7.83 | 152.29 | 49.18 |
Orders /wp-admin/admin.php?page=picsell_page_commandes | 1,054 | 3.50 | 42.03 | 25.29 |
Offer packs /wp-admin/edit.php?post_type=offre | 1,297 | 3.57 | 50.14 | 28.72 |
Category offer /wp-admin/edit-tags.php?taxonomy=offre_category&post_type=offre | 1,501 | 3.42 | 41.41 | 28.75 |
Dashboard /wp-admin/admin.php?page=picsell | 1,009 | 3.27 | 39.37 | 23.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- > Warning in wp-content/plugins/pic-sell/admin/class-pic-sell-admin.php+503
file_put_contents(wp-content/uploads/pic_sell/.htaccess): failed to open stream: No such file or directory
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=picsell
- > Warning in wp-content/plugins/pic-sell/admin/class-pic-sell-admin.php+503
file_put_contents(wp-content/uploads/pic_sell/.htaccess): failed to open stream: No such file or directory
SRP 50% from 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
Please fix the following
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/pic-sell/public/partials/pic-sell-public-display.php
- > /wp-content/plugins/pic-sell/includes/class-pic-sell-stream.php
- > /wp-content/plugins/pic-sell/admin/partials/pic-sell-admin-display.php
- > /wp-content/plugins/pic-sell/templates/templateOrders.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Contributors: Plugin contributors not specified
- Screenshots: Add an image for screenshot #2 (private gallery page)
pic-sell/pic-sell.php 92% from 13 tests
The entry point to "Pic Sell" version 1.0.11 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin13,418 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 849 | 766 | 4,398 |
CSS | 6 | 193 | 56 | 3,941 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 6 | 408 | 194 | 2,081 |
PO File | 2 | 136 | 207 | 308 |
Markdown | 1 | 16 | 0 | 18 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 31.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 4.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 3 | 3.45% |
▷ Public methods | 68 | 78.16% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 21.84% |
Functions | 20 | |
▷ Named functions | 8 | 40.00% |
▷ Anonymous functions | 12 | 60.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.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
There are no PNG files in this plugin