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: ▼3.52ms] Passed 4 tests
A check of server-side resources used by Parex Bridge for Quickbooks & Xero
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.72 ▲1.39 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.77 ▼1.62 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.96 ▼3.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.21 ▼9.20 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.04 ▲0.06 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Parex Bridge for Quickbooks & Xero
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.57 ▼0.83 | 2.05 ▲0.37 | 45.44 ▲3.12 |
Dashboard /wp-admin | 2,206 ▲15 | 5.83 ▲0.74 | 101.81 ▼2.45 | 37.84 ▼5.11 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.01 ▲0.00 | 36.12 ▼9.20 | 32.14 ▼5.32 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 22.85 ▼0.36 | 670.24 ▲26.43 | 60.17 ▲10.19 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.20 ▼0.00 | 99.78 ▼0.99 | 41.60 ▼2.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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 items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'PXB_Exception' not found in wp-content/plugins/parex-bridge-for-quickbooks-xero/classes/exceptions/class-pxb-missing-dependencies-exception.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/parex-bridge-for-quickbooks-xero/config/const.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Contributors: Plugin contributors not specified
parex-bridge-for-quickbooks-xero/parex-bridge-for-quickbooks-and-xero.php 92% from 13 tests
The main PHP file in "Parex Bridge for Quickbooks & Xero" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("parex-bridge-for-quickbooks-xero.php" instead of "parex-bridge-for-quickbooks-and-xero.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin9,955 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 1,223 | 15 | 9,216 |
PHP | 13 | 130 | 63 | 694 |
JavaScript | 1 | 8 | 1 | 45 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 2.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 15 | 65.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 34.78% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 6 | 75.00% |
▷ Class constants | 2 | 25.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/wc-qb-connection.png | 74.32KB | 22.58KB | ▼ 69.61% |
assets/img/wcqb.png | 12.13KB | 4.85KB | ▼ 60.04% |
assets/img/wcxo.png | 12.07KB | 4.73KB | ▼ 60.78% |
assets/img/parexbridge.png | 0.61KB | 0.44KB | ▼ 28.09% |
assets/img/parexlogo.png | 10.95KB | 4.12KB | ▼ 62.36% |