Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.58MB] [CPU: ▼2.75ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Zettle Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.61 | 52.63 ▲5.57 |
Dashboard /wp-admin | 3.89 ▲0.55 | 51.62 ▼4.42 |
Posts /wp-admin/edit.php | 3.95 ▲0.59 | 51.11 ▲3.12 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.59 | 86.06 ▼15.25 |
Media Library /wp-admin/upload.php | 3.82 ▲0.59 | 42.05 ▲7.47 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Zettle Integration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.67 ▲0.32 | 1.90 ▼0.23 | 42.26 ▼5.33 |
Dashboard /wp-admin | 2,196 ▲16 | 5.56 ▼0.06 | 90.55 ▼4.53 | 41.74 ▲1.28 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.97 ▼0.00 | 41.02 ▼3.97 | 38.40 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,537 ▲8 | 23.16 ▼0.14 | 681.63 ▲65.37 | 52.15 ▼2.58 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.27 ▲0.07 | 99.32 ▼1.71 | 44.04 ▲2.37 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: zettle, i-zettle, card, woocommerce, integration...
woo-izettle-integration/woo-izettle-integration.php 92% from 13 tests
The main PHP file in "WooCommerce Zettle Integration" ver. 7.8.8 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.9" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin9,729 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 2,983 | 1,016 | 9,246 |
JavaScript | 4 | 50 | 53 | 318 |
CSS | 2 | 32 | 3 | 165 |
PHP code Passed 2 tests
Analyzing 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.44 |
Average class complexity | 58.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 304.00 |
Average method complexity | 4.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 396 | |
▷ Static methods | 88 | 22.22% |
▷ Public methods | 351 | 88.64% |
▷ Protected methods | 2 | 0.51% |
▷ Private methods | 43 | 10.86% |
Functions | 17 | |
▷ Named functions | 9 | 52.94% |
▷ Anonymous functions | 8 | 47.06% |
Constants | 23 | |
▷ Global constants | 3 | 13.04% |
▷ Class constants | 20 | 86.96% |
▷ Public constants | 20 | 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
PNG images were not found in this plugin