Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.74ms] Passed 4 tests
This is a short check of server-side resources used by WOSSE WooCommerce Sözleşmeleri
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.92 ▼4.86 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.71 ▼18.04 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.22 ▲0.54 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.63 ▼2.82 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.79 ▼1.24 |
Server storage [IO: ▲4.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WOSSE WooCommerce Sözleşmeleri
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.64 ▼0.74 | 2.22 ▲0.45 | 45.74 ▲5.47 |
Dashboard /wp-admin | 2,218 ▲15 | 4.88 ▼0.02 | 108.31 ▲0.26 | 43.41 ▲3.03 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▼0.02 | 39.76 ▲2.98 | 37.33 ▲0.59 |
Add New Post /wp-admin/post-new.php | 1,550 ▲5 | 18.17 ▼5.08 | 609.35 ▼69.73 | 59.41 ▲9.55 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.03 | 104.28 ▲3.48 | 46.13 ▲0.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wosse/class/onyuzVeriIletisimi.php
- > /wp-content/plugins/wosse/class/wp_autoupdate_extended.php
- > /wp-content/plugins/wosse/class/HMYLS.php
- > /wp-content/plugins/wosse/class/kisaKodlar.php
- > /wp-content/plugins/wosse/formTasarim.php
- > /wp-content/plugins/wosse/WOSSE.php
- > /wp-content/plugins/wosse/arayuzler/adminMusteriSozlesmesi.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wosse/pdfCevirici.php:13
- > 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 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
- Screenshots: These screenshots lack descriptions #5, #9 in wosse/assets to your readme.txt
wosse/WOSSE.php 77% from 13 tests
The main PHP file in "WOSSE WooCommerce Sözleşmeleri" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Description: Keep the plugin description shorter than 140 characters (currently 309 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("wosse.php" instead of "WOSSE.php")
Code Analysis 95% from 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
No dangerous file extensions were detected43,691 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 1,746 | 9,356 | 41,425 |
SVG | 3 | 1 | 1 | 1,882 |
CSS | 1 | 79 | 5 | 213 |
JavaScript | 1 | 66 | 15 | 108 |
Markdown | 1 | 21 | 0 | 63 |
PHP code 0% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
These items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 4,379)
- Method cyclomatic complexity should be reduced to less than 100 (currently 502)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 431.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4,379.00 |
Average method complexity | 10.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 502.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 573 | |
▷ Static methods | 110 | 19.20% |
▷ Public methods | 443 | 77.31% |
▷ Protected methods | 127 | 22.16% |
▷ Private methods | 3 | 0.52% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 47 | |
▷ Global constants | 47 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.56MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
TCPDF/images/image_with_alpha.png | 238.49KB | 61.71KB | ▼ 74.12% |
TCPDF/images/tcpdf_signature.png | 66.34KB | 25.47KB | ▼ 61.61% |
TCPDF/images/alpha.png | 23.33KB | 30.34KB | 0.00% |
TCPDF/images/logo_example.png | 18.96KB | 17.68KB | ▼ 6.71% |
TCPDF/images/img.png | 190.57KB | 64.69KB | ▼ 66.06% |