Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼11.90ms] Passed 4 tests
Server-side resources used by WP Auto Translate Free
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 35.18 ▼2.92 |
Dashboard /wp-admin | 3.33 ▼0.01 | 44.74 ▼17.04 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.75 ▼0.04 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 81.53 ▼27.61 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.62 ▲0.67 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Auto Translate Free
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,018 ▲247 | 13.63 ▼0.92 | 2.08 ▲0.01 | 62.02 ▲18.83 |
Dashboard /wp-admin | 2,222 ▲34 | 4.83 ▼0.23 | 109.45 ▲2.44 | 38.76 ▼4.76 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.04 ▲0.02 | 38.70 ▲1.78 | 34.60 ▼3.40 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.30 ▲5.62 | 667.80 ▼14.09 | 60.37 ▲18.58 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.21 ▲0.04 | 97.98 ▼6.35 | 41.54 ▼1.60 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: auto translate, autotranslate, translate, translator
wp-auto-translate-free/wp-translatorea.php 77% from 13 tests
The main PHP file in "WP Auto Translate Free" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-auto-translate-free.php" instead of "wp-translatorea.php")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("https://euroalphabet.eu/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin552 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 89 | 50 | 220 |
CSS | 1 | 29 | 2 | 145 |
JavaScript | 1 | 33 | 12 | 79 |
PO File | 1 | 39 | 48 | 59 |
JSON | 1 | 0 | 0 | 47 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 5.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 10 | |
▷ Static methods | 4 | 40.00% |
▷ Public methods | 7 | 70.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 30.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There were not PNG files found in your plugin