Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/lm-easy-emoticons/lm-easy-emoticons.php+33
Methods with the same name as their class will not be constructors in a future version of PHP; LMEasy_Emoticons has a deprecated constructor
Server metrics [RAM: ▼1.80MB] [CPU: ▼53.37ms] Passed 4 tests
A check of server-side resources used by LM-Easy-Emoticons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.28 | 5.49 ▼35.61 |
Dashboard /wp-admin | 2.20 ▼1.10 | 7.16 ▼41.72 |
Posts /wp-admin/edit.php | 2.20 ▼1.15 | 5.86 ▼39.99 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.68 | 5.90 ▼96.17 |
Media Library /wp-admin/upload.php | 2.20 ▼1.03 | 5.72 ▼28.04 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for LM-Easy-Emoticons
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.19 ▼0.20 | 1.71 ▲0.10 | 44.40 ▲4.15 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▲0.08 | 94.95 ▲9.72 | 42.87 ▼0.03 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.07 | 33.88 ▼1.28 | 35.72 ▲3.46 |
Add New Post /wp-admin/post-new.php | 1,636 ▲110 | 23.58 ▼0.05 | 689.41 ▲18.00 | 59.47 ▼20.16 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.19 ▼0.00 | 93.94 ▼6.05 | 42.14 ▼5.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/lm-easy-emoticons/lm-easy-emoticons.php+33
Methods with the same name as their class will not be constructors in a future version of PHP; LMEasy_Emoticons has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/lm-easy-emoticons/lm-easy-emoticons.php
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 97% from 29 tests
readme.txt 94% 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 need to be fixed:
- Screenshots: These screenshots require images: #1 (LM-Easy-Emoticons button on post editor.), #2 (You will see empty emoticon), #3 (You can add emoticon for URL or File)
lm-easy-emoticons/lm-easy-emoticons.php Passed 13 tests
The main PHP script in "LM-Easy-Emoticons" version 1.0 is automatically included on every request by WordPress
25 characters long description:
Easy way to use Emoticons
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,037 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 143 | 67 | 403 |
PHP | 1 | 220 | 172 | 380 |
CSS | 1 | 64 | 5 | 254 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 51.00 |
▷ Minimum class complexity | 51.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 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 | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.06MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/close.png | 0.95KB | 0.11KB | ▼ 88.91% |
css/images/add_btn.png | 21.08KB | 1.47KB | ▼ 93.04% |
css/images/clear_btn.png | 2.48KB | 1.26KB | ▼ 49.41% |
css/images/bg1.png | 0.95KB | 0.13KB | ▼ 85.88% |
css/images/bg2.png | 0.97KB | 0.22KB | ▼ 77.44% |