Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.62MB] [CPU: ▼12.87ms] Passed 4 tests
A check of server-side resources used by Emojized
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.29 ▼2.22 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.09 ▲0.77 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.25 ▲4.97 |
Add New Post /wp-admin/post-new.php | 3.24 ▼2.65 | 41.29 ▼47.64 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.51 ▼2.40 |
New Emoji /wp-admin/post-new.php?post_type=emojize | 3.32 | 41.70 |
Emojized /wp-admin/edit.php?post_type=emojize | 3.33 | 37.69 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Emojized
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲169 | 13.53 ▼0.71 | 5.97 ▲4.25 | 43.75 ▲1.66 |
Dashboard /wp-admin | 2,232 ▲50 | 4.87 ▼0.20 | 112.25 ▲8.07 | 43.60 ▼0.35 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.03 ▲0.02 | 34.11 ▲0.82 | 38.89 ▲1.29 |
Add New Post /wp-admin/post-new.php | 1,557 ▲23 | 23.14 ▼0.09 | 678.74 ▼23.66 | 53.67 ▼1.48 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.32 ▲0.03 | 97.66 ▼1.42 | 43.93 ▲1.54 |
New Emoji /wp-admin/post-new.php?post_type=emojize | 1,597 | 2.61 | 50.19 | 65.59 |
Emojized /wp-admin/edit.php?post_type=emojize | 1,102 | 1.99 | 30.41 | 29.83 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/emojized/emojized-post.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/emojized/emojized-metabox.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/emojized/emojized-metabox.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/emojized/emojized-endpoints.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: reactions, emoji, poll, voting
emojized/emojized.php Passed 13 tests
The main PHP file in "Emojized" ver. 0.2 adds more information about the plugin and also serves as the entry point for this plugin
53 characters long description:
This is a plugin which is making emojis automatically
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 plugin247 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 43 | 16 | 215 |
CSS | 1 | 4 | 0 | 24 |
JavaScript | 1 | 4 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
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
PNG images were not found in this plugin