Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.87MB] [CPU: ▼181.98ms] Passed 4 tests
This is a short check of server-side resources used by Plugin Name: GMO TinyMCE Smiley
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 34.68 ▲14.47 |
Dashboard /wp-admin | 2.78 ▼0.28 | 26.87 ▼8.59 |
Posts /wp-admin/edit.php | 2.78 ▼0.33 | 22.54 ▼16.55 |
Add New Post /wp-admin/post-new.php | 2.78 ▼2.65 | 21.92 ▼692.27 |
Media Library /wp-admin/upload.php | 2.78 ▼0.22 | 23.09 ▼10.52 |
TinyMCE Smiley /wp-admin/edit.php?page=gmo-tinymce-smiley | 2.78 | 21.88 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Plugin Name: GMO TinyMCE Smiley
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲78 | 15.93 ▲0.27 | 12.36 ▲2.25 | 45.93 ▼5.12 |
Dashboard /wp-admin | 2,974 ▲43 | 5.93 ▼0.14 | 149.43 ▼3.84 | 112.32 ▲1.07 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▲0.00 | 81.73 ▲10.58 | 84.90 ▼6.53 |
Add New Post /wp-admin/post-new.php | 1,688 ▲5 | 18.77 ▲0.28 | 430.22 ▲40.10 | 108.79 ▲0.27 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▲0.00 | 143.95 ▼31.08 | 113.84 ▼1.30 |
TinyMCE Smiley /wp-admin/edit.php?page=gmo-tinymce-smiley | 1,107 | 2.33 | 54.70 | 71.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?page=gmo-tinymce-smiley
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gmo-tinymce-smiley/gmo-tinymce-smiley.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?page=gmo-tinymce-smiley
- > Network (severe)
wp-content/plugins/gmo-tinymce-smiley/css/gmo-tinymce-smiley-update.css?ver=5.8.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?page=gmo-tinymce-smiley
- > Network (severe)
wp-content/plugins/gmo-tinymce-smiley/css/gmo-admin-plugin.css?ver=5.8.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?page=gmo-tinymce-smiley
- > Network (severe)
wp-content/plugins/gmo-tinymce-smiley/images/bnr_themes.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?page=gmo-tinymce-smiley
- > Network (severe)
wp-content/plugins/gmo-tinymce-smiley/images/logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?page=gmo-tinymce-smiley
- > Network (severe)
wp-content/plugins/gmo-tinymce-smiley/images/bnr_plugins.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== Plugin Name: GMO TinyMCE Smiley ===
)
gmo-tinymce-smiley/gmo-tinymce-smiley.php Passed 13 tests
The main PHP script in "Plugin Name: GMO TinyMCE Smiley" version 1.2 is automatically included on every request by WordPress
56 characters long description:
This is a plug-in that can be inserted emoticons easily.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin261 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 11 | 140 |
JavaScript | 2 | 5 | 0 | 69 |
PO File | 1 | 3 | 3 | 23 |
CSS | 3 | 1 | 9 | 22 |
XML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot.png | 76.16KB | 38.30KB | ▼ 49.72% |
images/ico_link.png | 1.00KB | 0.21KB | ▼ 79.07% |
images/wpshop_bnr_themes.png | 13.39KB | 5.79KB | ▼ 56.74% |
images/wpshop_logo.png | 7.22KB | 5.91KB | ▼ 18.12% |
images/wpshop_bnr_plugins.png | 13.29KB | 5.68KB | ▼ 57.23% |