Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▲0.57ms] Passed 4 tests
An overview of server-side resources used by Insertify - Ad,HTML,CSS,JS,PHP,PDF,Header & Footer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 43.79 ▲5.45 |
Dashboard /wp-admin | 3.45 ▲0.14 | 51.94 ▲1.13 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 53.93 ▲2.94 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 87.62 ▼3.07 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 36.27 ▲1.28 |
Insertify /wp-admin/admin.php?page=icps-main | 3.34 | 32.07 |
Site Info /wp-admin/admin.php?page=icps_site_info | 3.36 | 32.52 |
Add New /wp-admin/admin.php?page=icps_add_new | 3.47 | 42.56 |
Entries /wp-admin/admin.php?page=icps_entries | 3.36 | 33.96 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_insertify |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Insertify - Ad,HTML,CSS,JS,PHP,PDF,Header & Footer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.66 ▲0.50 | 1.64 ▲0.03 | 44.29 ▲3.07 |
Dashboard /wp-admin | 2,214 ▲43 | 5.61 ▲0.08 | 92.55 ▲5.75 | 82.87 ▲39.36 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.01 ▲0.01 | 36.62 ▲0.43 | 34.96 ▲0.11 |
Add New Post /wp-admin/post-new.php | 1,556 ▲21 | 23.01 ▼0.37 | 752.95 ▲113.88 | 67.47 ▲11.85 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.23 ▼0.08 | 99.24 ▼0.34 | 74.13 ▲31.56 |
Insertify /wp-admin/admin.php?page=icps-main | 1,102 | 1.70 | 23.46 | 42.75 |
Site Info /wp-admin/admin.php?page=icps_site_info | 1,059 | 1.64 | 25.54 | 77.20 |
Add New /wp-admin/admin.php?page=icps_add_new | 2,901 | 10.61 | 217.87 | 82.63 |
Entries /wp-admin/admin.php?page=icps_entries | 824 | 1.69 | 24.45 | 35.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_insertify
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/insertify/dashboard/functions.php
- 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/insertify/regular.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/insertify/apply/content_in_post.php:124
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/insertify/shortcodes.php:178
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/insertify/regular/comments.php:126
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/insertify/regular/page-post.php:147
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/insertify/regular/user.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/insertify/apply/js_in_admin.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/insertify/apply/embed_in_site.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/insertify/apply/css_in_site.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/insertify/dashboard.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: There are too many tags (18 tag instead of maximum 10)
insertify/insertify.php 92% from 13 tests
The entry point to "Insertify - Ad,HTML,CSS,JS,PHP,PDF,Header & Footer" version 1.1.4 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 214 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,294 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 1,303 | 269 | 2,151 |
CSS | 3 | 34 | 1 | 130 |
JavaScript | 3 | 11 | 11 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 40 | |
▷ Named functions | 40 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/ic-logo.png | 2.46KB | 1.33KB | ▼ 46.11% |