Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.19ms] Passed 4 tests
Analyzing server-side resources used by ER Swiffy Insert
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.51 ▼3.11 |
Dashboard /wp-admin | 3.33 ▼0.02 | 43.99 ▼20.69 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.75 ▼7.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.27 ▼1.54 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.92 ▲2.41 |
ER Swiffy Insert /wp-admin/options-general.php?page=swiffy-insert | 3.23 | 30.40 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for ER Swiffy Insert
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.28 ▼1.35 | 1.75 ▼0.30 | 39.96 ▼12.13 |
Dashboard /wp-admin | 2,207 ▲19 | 5.85 ▲0.91 | 108.93 ▲1.76 | 42.91 ▲2.55 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.04 | 40.93 ▲4.76 | 34.63 ▲3.00 |
Add New Post /wp-admin/post-new.php | 1,531 ▼2 | 23.28 ▲0.19 | 648.16 ▲22.44 | 58.82 ▲12.43 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.24 ▲0.05 | 96.08 ▼5.11 | 43.89 ▲1.73 |
ER Swiffy Insert /wp-admin/options-general.php?page=swiffy-insert | 866 | 2.14 | 22.52 | 43.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/er-swiffy-insert/howto.php
- 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/er-swiffy-insert/er-swiffy-insert.php:31
- > 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 90% from 29 tests
readme.txt 88% 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:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Plugin Name: You should set the name of your plugin on the first line (
=== er-swiffy-insert ===
)
er-swiffy-insert/er-swiffy-insert.php 92% from 13 tests
The principal PHP file in "ER Swiffy Insert" v. 1.0.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 226 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin117 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 33 | 117 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.12 |
▷ 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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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 | 1 | |
▷ Global constants | 1 | 100.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
There were not PNG files found in your plugin