Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.48ms] Passed 4 tests
A check of server-side resources used by Integration for SirFiliate with WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.69 ▼2.47 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.08 ▼4.69 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.19 ▲0.15 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.11 ▼16.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.89 ▼2.34 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 133 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Integration for SirFiliate with WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.62 ▼0.73 | 1.57 ▼0.31 | 39.31 ▼10.22 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲0.91 | 103.83 ▼0.65 | 37.59 ▼3.44 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.05 | 39.66 ▼0.01 | 33.42 ▼1.17 |
Add New Post /wp-admin/post-new.php | 1,514 ▼30 | 17.65 ▼0.69 | 631.89 ▼11.76 | 58.43 ▼9.55 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.38 ▲0.19 | 95.74 ▼2.52 | 43.27 ▼2.28 |
Uninstaller [IO: ▲0.33MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attentionThis plugin did not uninstall successfully, leaving 7 options in the database
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/integration-sirfiliate-woocommerce/vendor/woosa/settings/class-module-settings.php+16
include_once(wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-page.php): failed to open stream: No such file or directory
- The plugin did not uninstall successfully, leaving 133 files (0.33MB) in the plugin directory
- (new file) includes/order/index.php
- (new file) includes/action-bulker/index.php
- (new file) includes/order/class-order-hook-ajax.php
- (new file) includes/order/assets/js/order.js
- (new file) includes/order/class-order-hook.php
- (new file) includes/authorization/index.php
- (new file) includes/order/class-order-hook-assets.php
- (new file) includes/action-bulker/class-action-bulker-hook.php
- (new file) includes/authorization/class-authorization-hook-settings.php
- (new file) includes/product/class-product.php
- ...
- recovery_mode_email_last_sent
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
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 no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Contributors: The plugin contributors field is missing
- Screenshots: Please add an image for screenshot #1 (General settings)
integration-sirfiliate-woocommerce/integration-sirfiliate-woocommerce.php Passed 13 tests
Analyzing the main PHP file in "Integration for SirFiliate with WooCommerce" version 1.3.2
44 characters long description:
Connect your shop with Sir Filiate platform.
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
No dangerous file extensions were detected7,029 lines of code in 130 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 88 | 3,150 | 3,199 | 5,276 |
CSS | 3 | 106 | 81 | 509 |
JavaScript | 5 | 198 | 30 | 459 |
Markdown | 21 | 157 | 0 | 418 |
JSON | 13 | 0 | 0 | 367 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 12.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 2 | 3.45% |
▷ Concrete classes | 56 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 401 | |
▷ Static methods | 241 | 60.10% |
▷ Public methods | 363 | 90.52% |
▷ Protected methods | 36 | 8.98% |
▷ Private methods | 2 | 0.50% |
Functions | 13 | |
▷ Named functions | 1 | 7.69% |
▷ Anonymous functions | 12 | 92.31% |
Constants | 13 | |
▷ Global constants | 12 | 92.31% |
▷ Class constants | 1 | 7.69% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin