Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.42ms] Passed 4 tests
An overview of server-side resources used by Georgian SMS 2-step login (authorization)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.21 ▼8.99 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.01 ▼2.44 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 51.56 ▲6.87 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 96.22 ▼4.08 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.86 ▼2.18 |
GEO 2-step auth /wp-admin/options-general.php?page=gstsa-pg | 3.22 | 33.33 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Georgian SMS 2-step login (authorization)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲104 | 13.54 ▼1.08 | 1.82 ▼0.69 | 35.49 ▼8.71 |
Dashboard /wp-admin | 2,216 ▲25 | 4.81 ▼1.09 | 111.43 ▲6.60 | 46.49 ▼0.99 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 2.15 ▲0.16 | 39.98 ▼0.97 | 40.17 ▲4.75 |
Add New Post /wp-admin/post-new.php | 1,555 ▲13 | 18.21 ▼0.10 | 624.81 ▼33.19 | 62.52 ▲5.95 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.21 ▼0.02 | 97.63 ▼4.09 | 48.28 ▲3.55 |
GEO 2-step auth /wp-admin/options-general.php?page=gstsa-pg | 948 | 2.06 | 24.30 | 98.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- 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
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
georgian-sms-2-step-authorization/index.php 85% from 13 tests
This is the main PHP file of "Georgian SMS 2-step login (authorization)" version 2.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("georgian-sms-2-step-authorization.php" instead of "index.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 613 characters long)
Code Analysis Passed 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 detected526 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 150 | 97 | 526 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
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 | 37 | |
▷ Named functions | 34 | 91.89% |
▷ Anonymous functions | 3 | 8.11% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin