Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲5.98ms] Passed 4 tests
Analyzing server-side resources used by ACH Invoicing Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 41.87 ▲7.36 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.55 ▲6.41 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 52.37 ▲6.98 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 87.47 ▲3.16 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 41.85 ▲8.07 |
Server storage [IO: ▲1.72MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 165 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_plaid_int_invoices |
wp_plaid_int_accounts |
wp_plaid_int_invoice_items |
New WordPress options |
---|
plaidintegra_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for ACH Invoicing Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲192 | 16.79 ▲2.15 | 55.49 ▲53.68 | 38.77 ▲0.34 |
Dashboard /wp-admin | 2,228 ▲50 | 5.13 ▼0.46 | 87.44 ▼27.42 | 90.31 ▲44.80 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.55 ▲0.53 | 41.31 ▲0.72 | 35.16 ▼3.58 |
Add New Post /wp-admin/post-new.php | 1,575 ▲40 | 23.41 ▲5.18 | 766.10 ▲176.79 | 38.21 ▼28.03 |
Media Library /wp-admin/upload.php | 1,439 ▲42 | 4.83 ▲0.65 | 97.45 ▼5.92 | 80.71 ▲38.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 3 tables in the database
- wp_plaid_int_invoice_items
- wp_plaid_int_accounts
- wp_plaid_int_invoices
- This plugin does not fully uninstall, leaving 7 options in the database
- plaidintegra_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 55× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'TomorrowIdeas\\Plaid\\Resources\\AbstractResource' not found in wp-content/plugins/ach-invoice-app/vendors/plaid-sdk-php-master/src/Resources/Liabilities.php:7
- > PHP Notice
Trying to get property 'invoice_key' of non-object in wp-content/plugins/ach-invoice-app/templates/invoice.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'TomorrowIdeas\\Plaid\\Tests\\TestCase' not found in wp-content/plugins/ach-invoice-app/vendors/plaid-sdk-php-master/tests/PlaidClientTest.php:15
- > PHP Fatal error
Uncaught Error: Class 'TomorrowIdeas\\Plaid\\Tests\\TestCase' not found in wp-content/plugins/ach-invoice-app/vendors/plaid-sdk-php-master/tests/TransactionsTest.php:12
- > PHP Fatal error
Uncaught Error: Class 'TomorrowIdeas\\Plaid\\Resources\\AbstractResource' not found in wp-content/plugins/ach-invoice-app/vendors/plaid-sdk-php-master/src/Resources/Transactions.php:8
- > PHP Fatal error
Uncaught Error: Class 'TomorrowIdeas\\Plaid\\Resources\\AbstractResource' not found in wp-content/plugins/ach-invoice-app/vendors/plaid-sdk-php-master/src/Resources/Accounts.php:7
- > PHP Fatal error
Uncaught Error: Class 'TomorrowIdeas\\Plaid\\Tests\\TestCase' not found in wp-content/plugins/ach-invoice-app/vendors/plaid-sdk-php-master/tests/SandboxTest.php:10
- > PHP Fatal error
Uncaught Error: Class 'TomorrowIdeas\\Plaid\\Resources\\AbstractResource' not found in wp-content/plugins/ach-invoice-app/vendors/plaid-sdk-php-master/src/Resources/Reports.php:8
- > PHP Fatal error
Uncaught Error: Class 'PlaidIntCommon' not found in wp-content/plugins/ach-invoice-app/classes/client.class.php:2
- > PHP Fatal error
Uncaught Error: Class 'TomorrowIdeas\\Plaid\\Tests\\TestCase' not found in wp-content/plugins/ach-invoice-app/vendors/plaid-sdk-php-master/tests/CategoriesTest.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Clear Dashboard), #2 (Create Invoice), #3 (Plaid Accounts)
ach-invoice-app/index.php 92% from 13 tests
Analyzing the main PHP file in "ACH Invoicing Plugin" version 1.0.1
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ach-invoice-app.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin11,455 lines of code in 104 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 62 | 1,604 | 1,056 | 5,391 |
CSS | 6 | 484 | 133 | 3,076 |
Sass | 13 | 19 | 22 | 928 |
LESS | 12 | 18 | 27 | 907 |
SVG | 1 | 0 | 0 | 414 |
JavaScript | 4 | 102 | 384 | 340 |
Markdown | 1 | 128 | 0 | 314 |
JSON | 1 | 0 | 0 | 39 |
XML | 2 | 0 | 0 | 28 |
YAML | 1 | 3 | 0 | 12 |
make | 1 | 2 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 4.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 264 | |
▷ Static methods | 1 | 0.38% |
▷ Public methods | 258 | 97.73% |
▷ Protected methods | 6 | 2.27% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 4 | 23.53% |
▷ Anonymous functions | 13 | 76.47% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
47 PNG files occupy 0.35MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/cancel.png | 1.01KB | 0.23KB | ▼ 77.46% |
admin/images/icon-close-open.png | 1.23KB | 0.40KB | ▼ 67.75% |
admin/images/iconos-panel/recaptcha-add-ons.png | 7.06KB | 3.14KB | ▼ 55.51% |
admin/images/yahoo.png | 1.65KB | 0.64KB | ▼ 61.15% |
admin/images/info.png | 1.52KB | 1.49KB | ▼ 2.37% |