Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▼8.40ms] Passed 4 tests
An overview of server-side resources used by R3DF Multisite Language Indicator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 44.23 ▲6.43 |
Dashboard /wp-admin | 3.51 ▲0.16 | 51.80 ▼10.72 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 47.95 ▼5.53 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 85.17 ▼16.09 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 34.23 ▼1.25 |
Server storage [IO: ▲5.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 270 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by R3DF Multisite Language Indicator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.46 ▲0.09 | 1.77 ▼0.06 | 43.56 ▼2.17 |
Dashboard /wp-admin | 2,209 ▲24 | 4.88 ▼0.98 | 96.47 ▼5.26 | 36.81 ▼5.52 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▲0.00 | 34.48 ▼6.28 | 33.37 ▼3.29 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.52 ▼5.61 | 636.22 ▼24.47 | 53.98 ▲2.31 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.19 ▼0.03 | 96.83 ▼0.93 | 39.85 ▼4.04 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add an image for screenshot #1 (Plugin options.)
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
r3df-multisite-language-indicator/r3df-multisite-language-indicator.php Passed 13 tests
The main PHP script in "R3DF Multisite Language Indicator" version 1.0.12 is automatically included on every request by WordPress
87 characters long description:
Indicates the site language beside the site title in the toolbar to help identify sites
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
Everything looks great! No dangerous files found in this plugin27,790 lines of code in 255 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 248 | 93 | 1,192 | 26,049 |
PO File | 1 | 361 | 384 | 734 |
PHP | 3 | 88 | 242 | 728 |
CSS | 3 | 8 | 1 | 279 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 76.00 |
▷ Minimum class complexity | 76.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.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 | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 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
5 PNG files occupy 0.28MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 67.86KB | 28.35KB | ▼ 58.22% |
screenshot-5.png | 27.22KB | 11.10KB | ▼ 59.23% |
screenshot-2.png | 72.86KB | 29.97KB | ▼ 58.87% |
screenshot-3.png | 78.31KB | 32.08KB | ▼ 59.04% |
screenshot-4.png | 36.71KB | 11.93KB | ▼ 67.50% |