Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/goo-translate-widget/translate-widget.php+13
Function create_function() is deprecated
Server metrics [RAM: ▼1.97MB] [CPU: ▼62.87ms] Passed 4 tests
An overview of server-side resources used by Goo Translate Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.50 ▼40.39 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.68 ▼57.47 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.74 ▼51.55 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.17 ▼102.07 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.48 ▼31.11 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_translate_wgt |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Goo Translate Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.38 ▲0.12 | 1.79 ▼0.07 | 44.22 ▲0.35 |
Dashboard /wp-admin | 2,192 ▲18 | 5.57 ▼0.02 | 84.33 ▼6.24 | 37.78 ▼8.66 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▼0.01 | 38.30 ▼0.74 | 35.48 ▲2.53 |
Add New Post /wp-admin/post-new.php | 1,545 ▼5 | 23.16 ▲0.34 | 641.27 ▲3.89 | 55.35 ▲7.50 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.23 ▲0.01 | 95.66 ▼6.76 | 42.07 ▼6.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/goo-translate-widget/translate-widget.php+13
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_translate_wgt
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 1× 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/goo-translate-widget/translate-widget.php:13
- > PHP Fatal error
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 errors were detected
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
5 plugin tags: translator, translate, translation, multilingual, website translator
goo-translate-widget/translate-widget.php 77% from 13 tests
Analyzing the main PHP file in "Goo Translate Widget" version 1.0
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 152 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("goo-translate-widget.php" instead of "translate-widget.php")
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
Success! There were no dangerous files found in this plugin183 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 9 | 145 |
PO File | 1 | 6 | 6 | 38 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin