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.37MB] [CPU: ▲1.38ms] Passed 4 tests
This is a short check of server-side resources used by Sahratelekom
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.35 | 45.57 ▲5.83 |
Dashboard /wp-admin | 3.68 ▲0.38 | 49.51 ▲2.34 |
Posts /wp-admin/edit.php | 3.78 ▲0.43 | 47.86 ▲0.57 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.39 | 91.77 ▼2.04 |
Media Library /wp-admin/upload.php | 3.60 ▲0.37 | 41.69 ▲4.66 |
Server storage [IO: ▲2.85MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Sahratelekom
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲71 | 13.57 ▼0.76 | 1.74 ▼0.40 | 45.94 ▼0.68 |
Dashboard /wp-admin | 2,222 ▲31 | 5.24 ▲0.32 | 101.22 ▲1.37 | 74.14 ▲30.51 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.54 ▲0.54 | 34.36 ▼10.23 | 33.40 ▼3.58 |
Add New Post /wp-admin/post-new.php | 1,693 ▲159 | 22.75 ▼0.38 | 676.26 ▼25.10 | 31.49 ▼25.65 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.51 ▲0.34 | 102.02 ▲5.50 | 72.33 ▲27.14 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mobikob/pages/settings.php
- > /wp-content/plugins/mobikob/pages/contactform7.php
- > /wp-content/plugins/mobikob/pages/voip.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (MmobiKoB kullanıcı adı ve şifresi girilip hesap doğrulanır. Başlık seçilir, modül durumu açık hale getirilir ve değişikler kaydedilir.), #2 (Otomatik gönderilmek istenen sms in özelligi açilarak mesaj şablonu belirlenir. Sayfa altında bulunan kaydet butonu ile kaydedilir. Hesap bilgilerinizin doğru olması, sms başlığının seçili olması ve eklenti durumunun açık olması halinde sms ler duruma ve kişiye özel olarak gönderilecektir.), #3 (İstenilen bir numaraya özel sms gönderilebilir.), #4 (Siteye kayıtlı ve numarası tanımlı müşterilere toplu şekilde sms gönderilebilir.), #5 (Toplu sms gönderirken kişilere özel sms göndermek icin değişkenler kullanılabilir. Bu değişkenler sayesinde mesaj içeriğinde örneğin [musteri_adi] yazdığınızda seçtiğiniz kullanıcının adı ile değişecektir.), #6 (Gönderilen msjın bir özetini ve hangi numaralara gönderildiği ekranı gelecektir. Gönderilen sms lerin durumunu sahratelekom panelinden takip edebilirsiniz.)
mobikob/index.php 85% from 13 tests
The principal PHP file in "Sahratelekom" v. 1.0.0 is loaded by WordPress automatically on each request
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 585 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("mobikob.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin28,430 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 54 | 28 | 10,408 |
JavaScript | 9 | 1,837 | 1,114 | 8,030 |
PHP | 8 | 472 | 134 | 3,507 |
SVG | 2 | 0 | 0 | 2,959 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 22.33 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 33 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 41 | |
▷ Named functions | 41 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
2 PNG files occupy 0.26MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/image/logo.png | 263.50KB | 91.90KB | ▼ 65.12% |
lib/image/sahraicon.png | 0.80KB | 0.74KB | ▼ 8.27% |