Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Parse error in wp-content/plugins/easy-language/easy-language.php+216
syntax error, unexpected '|', expecting variable (T_VARIABLE)
Server metrics [RAM: ▼0.01MB] [CPU: ▼13.86ms] Passed 4 tests
A check of server-side resources used by Easy Language
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 30.50 ▼9.38 |
Dashboard /wp-admin | 3.31 ▼0.04 | 40.17 ▼18.62 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.96 ▲1.73 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 75.65 ▼21.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.65 ▼6.25 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Language
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▼0.07 | 1.54 ▼0.07 | 36.15 ▼3.01 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▼0.09 | 93.06 ▲8.31 | 41.50 ▼1.51 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▲0.00 | 38.77 ▼0.94 | 35.50 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.37 ▲0.00 | 678.31 ▲31.62 | 52.04 ▼3.28 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.17 ▼0.23 | 90.87 ▼7.43 | 42.72 ▲1.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Parse error
syntax error, unexpected '|', expecting variable (T_VARIABLE) in wp-content/plugins/easy-language/easy-language.php on line 216
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: falc, plain language, leichte sprache, easy language
easy-language/easy-language.php 85% from 13 tests
The main PHP file in "Easy Language" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("6.0" instead of "5.9")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("8.0" instead of "7.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin290 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 63 | 209 | 267 |
PO File | 1 | 4 | 6 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 6 | 100.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
gfx/en_ls.png | 0.55KB | 0.08KB | ▼ 85.00% |
gfx/fr_ls.png | 0.55KB | 0.08KB | ▼ 85.00% |
gfx/de_ls.png | 0.55KB | 0.08KB | ▼ 85.00% |
gfx/ls.png | 0.55KB | 0.08KB | ▼ 85.00% |