Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲1.46ms] Passed 4 tests
Analyzing server-side resources used by Plebeian Market Peer2Peer E-commerce for Bitcoin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 317.25 ▲277.58 |
Dashboard /wp-admin | 3.37 ▲0.07 | 49.88 ▲0.07 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 54.12 ▲7.50 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.43 ▼11.94 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 44.12 ▲10.19 |
Setup /wp-admin/admin.php?page=plebeian_market_setup | 3.27 | 36.04 |
Server storage [IO: ▲1.51MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 71 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
Checking browser requirements for Plebeian Market Peer2Peer E-commerce for Bitcoin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,166 ▲431 | 16.24 ▲1.66 | 11.09 ▲9.31 | 36.86 ▼11.60 |
Dashboard /wp-admin | 2,400 ▲209 | 7.16 ▲1.29 | 137.88 ▲31.78 | 35.45 ▼6.39 |
Posts /wp-admin/edit.php | 2,323 ▲231 | 3.96 ▲1.92 | 72.45 ▲37.34 | 33.10 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,728 ▲188 | 23.39 ▲0.17 | 667.24 ▼9.14 | 34.56 ▼36.12 |
Media Library /wp-admin/upload.php | 1,520 ▲132 | 5.15 ▲0.87 | 95.49 ▼5.83 | 41.90 ▼1.88 |
Setup /wp-admin/admin.php?page=plebeian_market_setup | 1,344 | 4.04 | 67.94 | 64.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% 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)
Good news, no errors were detected
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/plebeian-market/config.php:103
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=plebeian_market_setup
- > Network (severe)
https://plebeian.market/api/users/me?_=1696589895895 - Failed to load resource: the server responded with a status of 401 ()
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Contributors: The plugin contributors field is missing
plebeian-market/plebeian-market.php 85% from 13 tests
"Plebeian Market Peer2Peer E-commerce for Bitcoin" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Description: Keep the plugin description shorter than 140 characters (currently 178 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
No dangerous file extensions were detected4,814 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 24 | 423 | 199 | 2,484 |
PHP | 21 | 385 | 561 | 1,878 |
CSS | 10 | 61 | 13 | 337 |
YAML | 1 | 5 | 0 | 61 |
Markdown | 1 | 24 | 0 | 39 |
SVG | 3 | 0 | 0 | 12 |
Bourne Shell | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 5.65 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 20 | 30.77% |
▷ Public methods | 60 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.69% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 48 | |
▷ Global constants | 3 | 6.25% |
▷ Class constants | 45 | 93.75% |
▷ Public constants | 45 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
common/img/plebeian_market_logo.png | 4.91KB | 2.47KB | ▼ 49.67% |