Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.14MB] [CPU: ▼10.89ms] Passed 4 tests
Analyzing server-side resources used by Mahkeme Kararıyla
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▼0.60 | 18.52 ▼29.05 |
Dashboard /wp-admin | 3.32 ▲0.01 | 55.27 ▲6.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.40 ▼6.68 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.07 ▼8.77 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.83 ▲0.94 |
Mahkeme Kararıyla Kapat /wp-admin/options-general.php?page=mahkemeKarariyla | 3.21 | 32.63 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
nedenKapaliENG |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
nedenKapali |
Browser metrics Passed 4 tests
A check of browser resources used by Mahkeme Kararıyla
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,456 ▼305 | 14.10 ▼0.25 | 0.64 ▼1.13 | 15.27 ▼23.75 |
Dashboard /wp-admin | 2,193 ▲13 | 5.58 ▼0.08 | 96.61 ▼3.02 | 45.02 ▲3.58 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.01 ▼0.01 | 36.39 ▼7.06 | 35.03 ▼3.22 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.03 ▼0.10 | 669.84 ▼41.55 | 68.93 ▲8.12 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.19 ▼0.00 | 100.13 ▼4.97 | 49.64 ▲6.08 |
Mahkeme Kararıyla Kapat /wp-admin/options-general.php?page=mahkemeKarariyla | 787 | 2.00 | 27.17 | 25.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mahkeme-karariyla/index.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mahkeme-karariyla/giris.php:136
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (screenshot-1.png beyle bişey) image missing
mahkeme-karariyla/index.php 85% from 13 tests
The main PHP script in "Mahkeme Kararıyla" version 0.1 is automatically included on every request by WordPress
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 141 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("mahkeme-karariyla.php" instead of "index.php")
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
Good job! No executable or dangerous file extensions detected180 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 12 | 7 | 180 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 20.93KB | 4.97KB | ▼ 76.25% |