Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.72ms] Passed 4 tests
This is a short check of server-side resources used by Languages Frontend Display
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.34 ▼6.59 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.67 ▼23.89 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.62 ▼2.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.13 ▲4.71 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.03 ▼2.19 |
Server storage [IO: ▲2.84MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 466 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Languages Frontend Display
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲39 | 14.36 ▲0.01 | 1.81 ▼0.03 | 39.77 ▼3.61 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▲0.08 | 89.66 ▼3.97 | 38.92 ▼6.20 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.03 | 35.82 ▼3.72 | 33.05 ▼0.50 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.04 ▲0.13 | 609.83 ▼50.94 | 51.30 ▼14.96 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.19 ▼0.04 | 99.04 ▲1.82 | 42.68 ▲0.41 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 119× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/languages-frontend-display/includes/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php:8
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/languages-frontend-display/includes/webdevstudios/cmb2/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/languages-frontend-display/includes/webdevstudios/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/languages-frontend-display/includes/composer/installers/src/Composer/Installers/GravInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/languages-frontend-display/includes/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/languages-frontend-display/includes/composer/installers/src/Composer/Installers/CockpitInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/languages-frontend-display/includes/composer/installers/src/Composer/Installers/MauticInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/languages-frontend-display/includes/composer/installers/src/Composer/Installers/CroogoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/languages-frontend-display/includes/composer/installers/src/Composer/Installers/ChefInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/languages-frontend-display/includes/composer/installers/src/Composer/Installers/WolfCMSInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: hide, qtranslate, language, disable, qtranslate-x...
languages-frontend-display/languages-frontend-display.php 92% from 13 tests
The main PHP script in "Languages Frontend Display" version 0.0.4 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected48,855 lines of code in 312 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 13,782 | 17,882 | 31,544 |
PHP | 149 | 2,407 | 5,786 | 9,156 |
CSS | 12 | 1,102 | 1,136 | 4,772 |
Sass | 14 | 265 | 25 | 1,262 |
JavaScript | 7 | 273 | 335 | 1,044 |
Markdown | 4 | 222 | 0 | 727 |
JSON | 5 | 0 | 0 | 327 |
XML | 1 | 2 | 0 | 23 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 8.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 154 | |
▷ Abstract classes | 10 | 6.49% |
▷ Concrete classes | 144 | 93.51% |
▷ Final classes | 0 | 0.00% |
Methods | 604 | |
▷ Static methods | 78 | 12.91% |
▷ Public methods | 494 | 81.79% |
▷ Protected methods | 101 | 16.72% |
▷ Private methods | 9 | 1.49% |
Functions | 57 | |
▷ Named functions | 52 | 91.23% |
▷ Anonymous functions | 5 | 8.77% |
Constants | 13 | |
▷ Global constants | 3 | 23.08% |
▷ Class constants | 10 | 76.92% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/webdevstudios/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
includes/webdevstudios/cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/webdevstudios/cmb2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
includes/webdevstudios/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/webdevstudios/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |