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.06MB] [CPU: ▼4.99ms] Passed 4 tests
Server-side resources used by Mini iframe box
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.12 ▼3.74 |
Dashboard /wp-admin | 3.37 ▲0.06 | 47.42 ▼0.99 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.45 ▼2.35 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 87.43 ▼12.42 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.74 ▼1.43 |
Mini iframe box /wp-admin/options-general.php?page=mini-iframe-box | 3.30 | 33.80 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 12 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_miniifbox |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
mini-iframe-box |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Mini iframe box
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.24 ▼1.38 | 4.28 ▲2.10 | 43.53 ▼6.68 |
Dashboard /wp-admin | 2,207 ▲19 | 5.84 ▲0.94 | 95.21 ▼53.32 | 36.02 ▼12.26 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.03 | 40.55 ▲4.11 | 35.85 ▲2.29 |
Add New Post /wp-admin/post-new.php | 1,545 ▼2 | 18.44 ▲0.40 | 618.79 ▲13.38 | 55.36 ▲3.49 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.36 ▲0.18 | 97.93 ▼0.63 | 48.02 ▲2.98 |
Mini iframe box /wp-admin/options-general.php?page=mini-iframe-box | 935 | 2.18 | 25.95 | 24.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/mini-iframe-box/mini-iframe-box.php
- > /wp-content/plugins/mini-iframe-box/pages/image-management-add.php
- > /wp-content/plugins/mini-iframe-box/pages/image-management-show.php
- > /wp-content/plugins/mini-iframe-box/pages/image-management-edit.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: plugin, widget, iframe
mini-iframe-box/mini-iframe-box.php Passed 13 tests
The principal PHP file in "Mini iframe box" v. 1.4 is loaded by WordPress automatically on each request
76 characters long description:
A mini iframe window box that contains another html content or web page url.
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
Good job! No executable or dangerous file extensions detected992 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 144 | 20 | 822 |
PO File | 1 | 46 | 79 | 106 |
JavaScript | 1 | 4 | 0 | 64 |
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.30 |
Average class complexity | 11.67 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 18 | 94.74% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin