Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼296.55ms] Passed 4 tests
A check of server-side resources used by Compressed Emoji
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 58.89 ▼25.90 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.75 ▼2.82 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 41.23 ▲3.80 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 93.76 ▼1,158.15 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 31.57 ▲0.69 |
Server storage [IO: ▲10.58MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7,159 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Compressed Emoji
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,767 ▲13 | 15.83 ▲0.70 | 5.94 ▲0.08 | 2.40 ▼0.06 |
Dashboard /wp-admin | 2,895 ▲40 | 6.13 ▼0.07 | 116.43 ▼37.78 | 173.47 ▼6.64 |
Posts /wp-admin/edit.php | 2,691 ▼0 | 3.23 ▼0.01 | 66.12 ▼2.09 | 192.94 ▲41.70 |
Add New Post /wp-admin/post-new.php | 1,648 ▼29 | 22.10 ▲0.62 | 425.65 ▼27.06 | 194.31 ▲22.10 |
Media Library /wp-admin/upload.php | 1,695 ▼0 | 5.51 ▲0.04 | 275.49 ▲132.72 | 184.30 ▼65.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Comparison) image missing
compressed-emoji/compressed-emoji.php Passed 13 tests
The main file in "Compressed Emoji" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
Same emoji, but compressed. It helps to serve emoji via your server.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin3,611 lines of code in 3,560 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3,557 | 0 | 0 | 3,557 |
JSON | 1 | 0 | 0 | 21 |
Markdown | 1 | 21 | 0 | 19 |
PHP | 1 | 8 | 10 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 2 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3578 compressed PNG files occupy 3.24MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/png/1f939-1f3fd-200d-2642-fe0f.png | 1.10KB | 1.14KB | 0.00% |
images/png/1f91c-1f3fd.png | 0.67KB | 0.70KB | 0.00% |
images/png/1f9a3.png | 1.51KB | 1.57KB | 0.00% |
images/png/1f469-1f3fc.png | 0.82KB | 0.86KB | 0.00% |
images/png/1f467-1f3fd.png | 1.02KB | 1.07KB | 0.00% |