Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.72ms] Passed 4 tests
This is a short check of server-side resources used by mPandco
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.19 ▼13.29 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.38 ▼10.69 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.95 ▼4.69 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.41 ▼6.20 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.68 ▼0.94 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
mPandco: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.22 ▼1.40 | 1.67 ▼0.50 | 42.57 ▼0.52 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▲0.97 | 99.97 ▼18.81 | 39.36 ▼7.42 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 1.99 ▼0.00 | 35.24 ▼0.04 | 32.90 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,524 ▲5 | 23.21 ▼0.20 | 603.91 ▼55.99 | 45.65 ▼7.47 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.21 ▼0.05 | 94.76 ▲0.68 | 41.09 ▼8.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Screenshots: Screenshot #1 (There are no screenshots.) image required
mpandco/mpandco.php Passed 13 tests
The principal PHP file in "mPandco" v. 1.0.11 is loaded by WordPress automatically on each request
52 characters long description:
Pasarela de pago mPandco compatible con woocommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin2,415 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 418 | 963 | 1,869 |
PO File | 2 | 120 | 148 | 363 |
CSS | 1 | 21 | 0 | 175 |
JSON | 2 | 0 | 0 | 8 |
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.23 |
Average class complexity | 7.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 149 | |
▷ Static methods | 7 | 4.70% |
▷ Public methods | 146 | 97.99% |
▷ Protected methods | 1 | 0.67% |
▷ Private methods | 2 | 1.34% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 14 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 14 | 100.00% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/mpandco_logo_payment_gateway.png | 7.36KB | 4.11KB | ▼ 44.08% |
assets/img/mpandco_PM_payment_gateway_small.png | 5.68KB | 1.58KB | ▼ 72.13% |
assets/img/arrow_drop_down_white.png | 4.19KB | 0.25KB | ▼ 94.15% |