Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.37MB] [CPU: ▼22.24ms] Passed 4 tests
An overview of server-side resources used by Language Notice For Multilanguage Site
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.26 ▼40.81 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.91 ▼15.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.78 ▲1.79 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.75 ▼16.60 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.49 ▼16.05 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Language Notice For Multilanguage Site
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.36 ▼0.02 | 2.39 ▲0.59 | 46.68 ▲3.03 |
Dashboard /wp-admin | 2,198 ▲18 | 5.69 ▲0.08 | 85.14 ▼13.89 | 39.51 ▲1.28 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.02 | 37.46 ▲1.96 | 38.06 ▲2.39 |
Add New Post /wp-admin/post-new.php | 1,531 ▼15 | 23.21 ▲0.06 | 653.95 ▲4.12 | 49.74 ▼6.15 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.23 ▲0.05 | 98.34 ▼14.38 | 43.30 ▼1.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP 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 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
6 plugin tags: multilingual, polylang, language, translate, translation...
language-notice-for-multilanguage-site/language-notice-for-multilanguage-site.php 69% from 13 tests
The primary PHP file in "Language Notice For Multilanguage Site" version 1.1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.3" instead of "5.6")
- Requires PHP: Periods and digits should be used for the required version number (ex. "7.0" instead of "5.6 or later")
- Description: The description should be shorter than 140 characters (currently 210 characters long)
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin111 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 9 | 53 | 110 |
CSS | 1 | 0 | 3 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
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 | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
2 PNG files occupy 0.31MB with 0.21MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 217.62KB | 77.63KB | ▼ 64.33% |
assets/banner-772x250.png | 104.24KB | 34.41KB | ▼ 66.99% |