Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/cyr-to-arabic/cyr-to-arabic.php+76
Methods with the same name as their class will not be constructors in a future version of PHP; kk_convert has a deprecated constructor
Server metrics [RAM: ▼1.89MB] [CPU: ▼54.29ms] Passed 4 tests
Server-side resources used by cyr-to-arabic
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 4.22 ▼33.99 |
Dashboard /wp-admin | 2.12 ▼1.18 | 6.89 ▼41.03 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 6.10 ▼43.11 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 6.20 ▼99.01 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 6.98 ▼27.70 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_kkconverter |
Browser metrics Passed 4 tests
Checking browser requirements for cyr-to-arabic
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.22 ▼1.02 | 1.83 ▼0.29 | 41.60 ▼3.88 |
Dashboard /wp-admin | 2,203 ▲11 | 5.76 ▲0.79 | 105.19 ▼9.29 | 39.16 ▼2.85 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.00 | 39.27 ▼1.22 | 35.03 ▼1.28 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 18.83 ▲1.23 | 633.42 ▲17.07 | 65.20 ▲16.19 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.19 ▼0.03 | 93.95 ▼5.21 | 40.32 ▼3.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/cyr-to-arabic/cyr-to-arabic.php+76
Methods with the same name as their class will not be constructors in a future version of PHP; kk_convert has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_kkconverter
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cyr-to-arabic/cyr-to-arabic.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cyr-to-arabic/inc/widgets.php:3
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (Cyr-To-Arabic on Plugins page) image missing
- Tags: You are using too many tags: 12 tag instead of maximum 10
cyr-to-arabic/cyr-to-arabic.php Passed 13 tests
The primary PHP file in "cyr-to-arabic" version 0.5 is used by WordPress to initiate all plugin functionality
84 characters long description:
Convert text from Kazakh Cyrillic to Arabic script in posts. 2014.1.1, Altai, China.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,552 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 1,383 |
PHP | 2 | 15 | 16 | 153 |
CSS | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin