Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.60ms] Passed 4 tests
Analyzing server-side resources used by WP Iletimerkezi SMS
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 40.95 ▲0.56 |
Dashboard /wp-admin | 3.41 ▲0.10 | 48.65 ▼9.11 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 47.76 ▼0.01 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 88.45 ▼9.82 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.98 ▲6.07 |
Iletimerkezi /wp-admin/options-general.php?page=iletimerkezi-options | 3.30 | 30.41 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
ilt_logs |
db_upgraded |
widget_recent-posts |
ilt_option |
Browser metrics Passed 4 tests
A check of browser resources used by WP Iletimerkezi SMS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.12 ▼1.26 | 1.85 ▼0.25 | 43.02 ▼6.60 |
Dashboard /wp-admin | 2,207 ▲19 | 4.86 ▼0.18 | 104.01 ▼1.88 | 39.34 ▼1.02 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▼0.14 | 35.59 ▼6.96 | 31.70 ▼5.01 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 23.31 ▲5.61 | 665.64 ▲12.62 | 50.42 ▼4.66 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.21 ▼0.03 | 94.58 ▼9.76 | 44.19 ▲1.70 |
Iletimerkezi /wp-admin/options-general.php?page=iletimerkezi-options | 926 | 2.04 | 28.10 | 31.21 |
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
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Emarka\\Sms\\Response\\ResponseIterator' not found in wp-content/plugins/wp-iletimerkezi-sms/iletimerkezi-php/Emarka/Sms/Response/BlacklistResponseIterator.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Emarka\\Sms\\StateInterface' not found in wp-content/plugins/wp-iletimerkezi-sms/iletimerkezi-php/Emarka/Sms/Response/ResponseStatus.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-iletimerkezi-sms/admin-pages.php:71
- > PHP Fatal error
Uncaught Error: Class 'Emarka\\Sms\\Response\\ResponseIterator' not found in wp-content/plugins/wp-iletimerkezi-sms/iletimerkezi-php/Emarka/Sms/Response/ReportResponseIterator.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-iletimerkezi-sms/core.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-iletimerkezi-sms/url-shorten.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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
These attributes need your attention:
- Screenshots: Please describe screenshot #3 in wp-iletimerkezi-sms/assets to your readme.txt
wp-iletimerkezi-sms/core.php 85% from 13 tests
The main file in "WP Iletimerkezi SMS" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 162 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-iletimerkezi-sms.php" instead of "core.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,494 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 253 | 453 | 1,333 |
PO File | 1 | 45 | 45 | 126 |
Markdown | 1 | 12 | 0 | 35 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 8.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 1 | 10.00% |
Methods | 142 | |
▷ Static methods | 5 | 3.52% |
▷ Public methods | 111 | 78.17% |
▷ Protected methods | 17 | 11.97% |
▷ Private methods | 14 | 9.86% |
Functions | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
Constants | 35 | |
▷ Global constants | 7 | 20.00% |
▷ Class constants | 28 | 80.00% |
▷ Public constants | 28 | 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