Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼139.91ms] Passed 4 tests
A check of server-side resources used by Juno Split
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 33.20 ▲10.52 |
Dashboard /wp-admin | 3.08 ▲0.03 | 44.99 ▲2.02 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 43.51 ▲1.94 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 89.06 ▼563.86 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 32.54 ▲0.28 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Juno Split
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,713 ▲117 | 15.89 ▲0.10 | 9.74 ▲1.75 | 50.67 ▼1.41 |
Dashboard /wp-admin | 2,980 ▲49 | 6.09 ▲0.14 | 160.92 ▲20.95 | 112.18 ▼4.03 |
Posts /wp-admin/edit.php | 2,746 ▲7 | 2.68 ▼0.01 | 67.80 ▲4.54 | 82.30 ▼4.87 |
Add New Post /wp-admin/post-new.php | 1,507 ▲7 | 18.50 ▼0.15 | 369.62 ▼6.40 | 115.39 ▲0.24 |
Media Library /wp-admin/upload.php | 1,820 ▲13 | 5.02 ▼0.00 | 145.47 ▼13.56 | 115.94 ▲3.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/juno-split/includes/marketplaces/views/html-edit-profile.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #5 (Página de configuração da integração com a Juno.), #6 (Configuração dos meios de pagamento.), #7 (Página de configuração do boleto bancário da Juno.), #8 (Página de configuração do cartão de crédito da Juno.), #9 (Widget no admin com o saldo da sua conta na Juno.)
juno-split/wc-juno-marketplace.php 77% from 13 tests
Analyzing the main PHP file in "Juno Split" version 1.1.4
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("juno-split.php" instead of "wc-juno-marketplace.php")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "3.5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected704 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 241 | 176 | 704 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 5.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 9 | 15.52% |
▷ Public methods | 58 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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