Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼297.53ms] Passed 4 tests
A check of server-side resources used by PayPecker Omni Sync
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 56.90 ▲5.15 |
Dashboard /wp-admin | 3.42 ▲0.01 | 35.23 ▲1.51 |
Posts /wp-admin/edit.php | 3.66 ▲0.01 | 39.54 ▲3.46 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 91.86 ▼1,192.41 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 22.83 ▼2.69 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by PayPecker Omni Sync
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,771 ▲17 | 15.64 ▼0.14 | 5.64 ▼0.98 | 2.13 ▼0.99 |
Dashboard /wp-admin | 2,881 ▲27 | 6.12 ▲0.03 | 122.48 ▼17.96 | 160.47 ▼2.70 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▲0.00 | 65.14 ▲0.97 | 144.16 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,661 ▼112 | 16.51 ▼4.58 | 414.43 ▼81.50 | 154.43 ▼4.27 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.51 ▼0.01 | 141.20 ▼4.56 | 185.49 ▲0.68 |
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
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Screenshots are stored in the /assets directory.) image missing
paypecker-omni-sync/woo-paypecker.php 92% from 13 tests
The entry point to "PayPecker Omni Sync" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("paypecker-omni-sync.php" instead of "woo-paypecker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,373 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 255 | 95 | 1,336 |
JSON | 1 | 0 | 0 | 21 |
XML | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 22.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 106.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 33 | 49.25% |
▷ Public methods | 66 | 98.51% |
▷ Protected methods | 1 | 1.49% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 1 | 16.67% |
▷ Anonymous functions | 5 | 83.33% |
Constants | 30 | |
▷ Global constants | 1 | 3.33% |
▷ Class constants | 29 | 96.67% |
▷ Public constants | 29 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin