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.09MB] [CPU: ▼2.63ms] Passed 4 tests
A check of server-side resources used by Remoji - Post/Comment Reaction and Enhancement
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 49.05 ▲11.99 |
Dashboard /wp-admin | 3.43 ▲0.13 | 45.35 ▲0.22 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 48.20 ▼4.47 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.75 ▼11.71 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.37 ▲5.46 |
Remoji /wp-admin/options-general.php?page=remoji | 3.35 | 39.64 |
Server storage [IO: ▲1.58MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 126 new files
Database: 1 new table, 21 new options
New tables |
---|
wp_remoji_history |
New WordPress options |
---|
remoji.auto_upgrade |
remoji.postview |
remoji.comment_emoji |
remoji.max_emoji_per_ip |
remoji.postview_delay |
widget_last_reacted |
widget_recent-comments |
widget_recent-posts |
remoji.disable_comment |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Remoji - Post/Comment Reaction and Enhancement
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲144 | 13.94 ▼0.44 | 6.58 ▲5.00 | 41.55 ▲0.19 |
Dashboard /wp-admin | 2,204 ▲16 | 5.90 ▲0.99 | 104.60 ▲3.32 | 36.92 ▼6.37 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 1.99 ▲0.02 | 38.74 ▼0.32 | 34.46 ▼1.60 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 23.20 ▲5.13 | 651.57 ▲46.17 | 49.81 ▼4.05 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.21 ▲0.00 | 95.47 ▼0.90 | 41.23 ▼1.94 |
Remoji /wp-admin/options-general.php?page=remoji | 1,325 | 1.85 | 27.29 | 51.53 |
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: 21 options
- remoji.disable_comment
- remoji.comment_emoji
- widget_most_viewed
- can_compress_scripts
- widget_recent-comments
- remoji.postview_delay
- remoji.postview_show_in_content
- remoji.post_emoji
- db_upgraded
- remoji._ver
- ...
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
Everything seems fine, however this is by no means 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 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: comment, emoji, views, counter, postviews
remoji/remoji.php 92% from 13 tests
"Remoji - Post/Comment Reaction and Enhancement" version 2.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 143 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin4,714 lines of code in 116 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 490 | 713 | 1,859 |
JSON | 2 | 1 | 0 | 1,689 |
CSS | 1 | 221 | 123 | 900 |
JavaScript | 2 | 28 | 32 | 158 |
SVG | 82 | 0 | 0 | 95 |
SQL | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 1 | 5.56% |
▷ Concrete classes | 17 | 94.44% |
▷ Final classes | 0 | 0.00% |
Methods | 114 | |
▷ Static methods | 38 | 33.33% |
▷ Public methods | 99 | 86.84% |
▷ Protected methods | 4 | 3.51% |
▷ Private methods | 11 | 9.65% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 33 | |
▷ Global constants | 15 | 45.45% |
▷ Class constants | 18 | 54.55% |
▷ Public constants | 18 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 1.26MB with 0.87MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wp_assets/screenshot-2.png | 254.34KB | 70.64KB | ▼ 72.22% |
wp_assets/banner-1544x500.png | 276.95KB | 89.11KB | ▼ 67.82% |
wp_assets/icon-256x256.png | 34.96KB | 11.49KB | ▼ 67.13% |
screenshot.png | 111.68KB | 34.06KB | ▼ 69.50% |
wp_assets/screenshot-3.png | 161.88KB | 53.75KB | ▼ 66.80% |