Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼7.98ms] Passed 4 tests
This is a short check of server-side resources used by LEGINDA WP Translate
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 36.80 ▼1.48 |
Dashboard /wp-admin | 3.48 ▲0.14 | 48.53 ▼10.57 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 47.65 ▲0.57 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 81.81 ▼20.44 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 36.38 ▲2.26 |
Leginda /wp-admin/admin.php?page=leginda_wp | 3.37 | 31.64 |
Pages /wp-admin/admin.php?page=leginda_wp_pages | 3.40 | 42.86 |
Widgets /wp-admin/admin.php?page=leginda_wp_widgets | 3.37 | 29.94 |
Posts /wp-admin/admin.php?page=leginda_wp_posts | 3.40 | 34.94 |
Categories /wp-admin/admin.php?page=leginda_wp_categories | 3.38 | 32.24 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for LEGINDA WP Translate
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲93 | 13.21 ▼1.01 | 1.80 ▲0.21 | 39.40 ▲1.36 |
Dashboard /wp-admin | 2,245 ▲53 | 4.84 ▼0.30 | 103.21 ▼17.12 | 38.81 ▼4.04 |
Posts /wp-admin/edit.php | 2,128 ▲36 | 2.05 ▲0.02 | 42.84 ▲0.81 | 36.42 ▲0.35 |
Add New Post /wp-admin/post-new.php | 1,563 ▲34 | 23.29 ▼0.12 | 655.29 ▼56.65 | 45.61 ▼10.56 |
Media Library /wp-admin/upload.php | 1,427 ▲36 | 4.24 ▼0.02 | 94.29 ▼5.74 | 40.30 ▼6.84 |
Leginda /wp-admin/admin.php?page=leginda_wp | 1,357 | 9.29 | 258.56 | 61.21 |
Pages /wp-admin/admin.php?page=leginda_wp_pages | 985 | 1.97 | 28.37 | 31.59 |
Widgets /wp-admin/admin.php?page=leginda_wp_widgets | 838 | 1.91 | 24.21 | 24.49 |
Posts /wp-admin/admin.php?page=leginda_wp_posts | 920 | 1.99 | 26.01 | 29.33 |
Categories /wp-admin/admin.php?page=leginda_wp_categories | 858 | 1.86 | 24.23 | 31.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: leginda, import, translations, export
leginda-wp-translate/leginda-wp.php 69% from 13 tests
The entry point to "LEGINDA WP Translate" version 1.5 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Domain Path: Please prefix the domain path with a forward slash character ("/leginda-wp")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("leginda-wp-translate.php" instead of "leginda-wp.php")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("leginda-wp")
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
Success! There were no dangerous files found in this plugin3,448 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 115 | 56 | 1,604 |
PHP | 9 | 263 | 176 | 953 |
CSS | 2 | 7 | 25 | 509 |
PO File | 3 | 129 | 147 | 382 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo.png | 5.15KB | 3.88KB | ▼ 24.69% |