Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/bravo-translate/activation.php+23
Trying to get property 'num_rows' of non-object
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.67ms] Passed 4 tests
This is a short check of server-side resources used by Bravo Translate
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.62 ▲2.09 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.68 ▲0.63 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.87 ▼1.59 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 97.11 ▼7.80 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.47 ▲4.61 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_bravo_translate |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
BRAVOTRAN_notice |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Bravo Translate
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.32 ▼1.43 | 1.63 ▼0.50 | 41.75 ▼8.30 |
Dashboard /wp-admin | 2,222 ▲31 | 4.88 ▼0.12 | 107.58 ▲10.10 | 38.79 ▼3.64 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.01 ▼0.05 | 39.83 ▲1.63 | 37.81 ▲4.02 |
Add New Post /wp-admin/post-new.php | 1,555 ▲22 | 18.90 ▼4.47 | 610.98 ▼12.93 | 56.33 ▼6.68 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.22 ▼0.08 | 96.97 ▼1.56 | 41.69 ▼0.71 |
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
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: translators, localisation, easy, simple, productivity...
bravo-translate/bravo-translate.php 92% from 13 tests
The main PHP file in "Bravo Translate" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 257 characters long)
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
There were no executable files found in this plugin542 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 119 | 70 | 371 |
JavaScript | 1 | 4 | 0 | 92 |
PO File | 1 | 16 | 16 | 60 |
CSS | 1 | 0 | 0 | 19 |
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.35 |
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 | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 2 | |
▷ Global constants | 2 | 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 are no PNG files in this plugin