Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.61ms] Passed 4 tests
An overview of server-side resources used by Sözleşmeler
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.29 ▲1.09 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.74 ▼1.53 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.90 ▼4.40 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 78.96 ▼12.86 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.45 ▼3.64 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 16 new options
New WordPress options |
---|
woocontracts_1_baslik |
woocontracts_3_yaz |
widget_theysaidso_widget |
woocontracts_baslik |
woocontracts_2_baslik |
widget_recent-comments |
can_compress_scripts |
woocontracts_2a |
woocontracts_3a |
woocontracts_2_yaz |
... |
Browser metrics Passed 4 tests
Sözleşmeler: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲49 | 14.57 ▲0.17 | 1.72 ▲0.10 | 39.70 ▲1.41 |
Dashboard /wp-admin | 2,198 ▲17 | 5.55 ▼0.15 | 87.14 ▼17.25 | 40.70 ▼2.24 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.11 ▲0.15 | 39.16 ▲3.32 | 36.96 ▲3.24 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.27 ▲0.31 | 656.39 ▼97.11 | 51.44 ▼16.90 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.20 ▲0.00 | 98.27 ▲1.50 | 41.23 ▼1.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however 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
Congratulations! This plugin passed the SRP 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: woocommerce, sozlesmeler, contract, sozlesme
sozlesmeler/woocontracts.php 85% from 13 tests
This is the main PHP file of "Sözleşmeler" version 2.3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("sozlesmeler.php" instead of "woocontracts.php")
- Description: Keep the plugin description shorter than 140 characters (currently 141 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected809 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 28 | 510 |
JavaScript | 3 | 11 | 7 | 191 |
CSS | 2 | 11 | 0 | 108 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin