Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.71MB] [CPU: ▲13.11ms] 50% from 4 tests
This is a short check of server-side resources used by Icegram Engage - WordPress Lead Generation, Popup Builder, CTA, Optins and Email List Building
It is recommended to improve the following
- RAM: You should keep total memory usage under 10MB (currently 11.35MB on /wp-admin/post-new.php?post_type=ig_campaign)
- CPU: The total CPU usage must kept under 500.00ms (currently 1,415.60ms on /wp-admin/edit.php?post_type=ig_campaign&page=icegram-gallery)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.19 ▲1.73 | 58.12 ▲18.05 |
Dashboard /wp-admin | 5.04 ▲1.74 | 58.39 ▲8.71 |
Posts /wp-admin/edit.php | 5.10 ▲1.75 | 61.52 ▲13.93 |
Add New Post /wp-admin/post-new.php | 7.58 ▲1.70 | 107.62 ▲11.74 |
Media Library /wp-admin/upload.php | 4.90 ▲1.67 | 52.33 ▲20.44 |
Settings /wp-admin/edit.php?post_type=ig_campaign&page=icegram-settings | 4.91 | 45.43 |
Messages /wp-admin/edit.php?post_type=ig_message | 5.00 | 50.81 |
Dashboard /wp-admin/edit.php?post_type=ig_campaign&page=icegram-dashboard | 4.92 | 43.30 |
All Campaigns /wp-admin/edit.php?post_type=ig_campaign | 5.03 | 48.41 |
🔥 Go Max /wp-admin/edit.php?post_type=ig_campaign&page=icegram-upgrade | 4.88 | 40.94 |
Template Gallery /wp-admin/edit.php?post_type=ig_campaign&page=icegram-gallery | 11.26 | 1,415.60 |
Add New Campaign /wp-admin/post-new.php?post_type=ig_campaign | 11.35 | 76.13 |
Docs & Support /wp-admin/edit.php?post_type=ig_campaign&page=icegram-support | 5.38 | 46.48 |
Server storage [IO: ▲2.69MB] [DB: ▲0.48MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 222 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
icegram_db_version |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
ig_last_gallery_items |
ig_cat_list |
icegram_sample_data_imported |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Icegram Engage - WordPress Lead Generation, Popup Builder, CTA, Optins and Email List Building
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲107 | 14.28 ▼0.07 | 1.63 ▼0.07 | 30.75 ▼12.65 |
Dashboard /wp-admin | 2,253 ▲76 | 5.57 ▼0.08 | 91.91 ▼1.04 | 83.96 ▲38.02 |
Posts /wp-admin/edit.php | 2,161 ▲58 | 1.99 ▲0.05 | 39.40 ▼6.46 | 41.53 ▲5.07 |
Add New Post /wp-admin/post-new.php | 1,590 ▲55 | 23.03 ▼2.12 | 585.74 ▼76.86 | 163.29 ▲102.77 |
Media Library /wp-admin/upload.php | 1,461 ▲61 | 4.22 ▲0.03 | 95.23 ▼3.29 | 80.97 ▲38.98 |
Settings /wp-admin/edit.php?post_type=ig_campaign&page=icegram-settings | 1,023 | 1.70 | 26.59 | 31.52 |
Messages /wp-admin/edit.php?post_type=ig_message | 1,187 | 2.55 | 38.35 | 43.58 |
Dashboard /wp-admin/edit.php?post_type=ig_campaign&page=icegram-dashboard | 1,106 | 1.88 | 27.17 | 62.93 |
All Campaigns /wp-admin/edit.php?post_type=ig_campaign | 1,288 | 2.69 | 55.22 | 36.85 |
🔥 Go Max /wp-admin/edit.php?post_type=ig_campaign&page=icegram-upgrade | 1,838 | 2.13 | 26.18 | 130.99 |
Template Gallery /wp-admin/edit.php?post_type=ig_campaign&page=icegram-gallery | 6,682 | 3.93 | 87.57 | 63.05 |
Add New Campaign /wp-admin/post-new.php?post_type=ig_campaign | 8,648 | 11.51 | 270.20 | 126.67 |
Docs & Support /wp-admin/edit.php?post_type=ig_campaign&page=icegram-support | 1,249 | 1.74 | 25.53 | 78.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.48MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/icegram/lite/classes/feedback/class-ig-plugin-data-tracker.php+197
Undefined index: survey_status
- Zombie WordPress options detected upon uninstall: 10 options
- icegram_sample_data_imported
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- ig_cat_list
- icegram_db_version
- widget_recent-comments
- can_compress_scripts
- ig_last_gallery_items
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/icegram/lite/gallery.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/icegram/lite/ig-offer.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/icegram/lite/gallery.php:382
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/icegram/lite/classes/feedback.php:31
- > PHP Notice
Trying to get property 'post_type' of non-object in wp-content/plugins/icegram/lite/notices/admin-notices.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: hellobar, lead capture, form, optin, popup
icegram/icegram.php 85% from 13 tests
This is the main PHP file of "Icegram Engage - WordPress Lead Generation, Popup Builder, CTA, Optins and Email List Building" version 3.1.19, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/lang/" does not exist
- Description: Please don't use more than 140 characters for the plugin description (currently 171 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin22,368 lines of code in 108 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 1,995 | 2,388 | 10,214 |
JavaScript | 23 | 1,330 | 1,068 | 5,501 |
CSS | 43 | 641 | 517 | 5,350 |
PO File | 2 | 444 | 519 | 1,296 |
XML | 1 | 0 | 0 | 6 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Please reduce cyclomatic complexity of methods to less than 100 (currently 143)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 48.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 421.00 |
Average method complexity | 5.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 143.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 1 | 3.70% |
▷ Concrete classes | 26 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 305 | |
▷ Static methods | 48 | 15.74% |
▷ Public methods | 299 | 98.03% |
▷ Protected methods | 2 | 0.66% |
▷ Private methods | 4 | 1.31% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
Constants | 16 | |
▷ Global constants | 7 | 43.75% |
▷ Class constants | 9 | 56.25% |
▷ Public constants | 9 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
101 PNG files occupy 0.96MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lite/message-types/toast/themes/night-glow.png | 3.36KB | 3.62KB | 0.00% |
lite/assets/css/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
lite/assets/images/sketch-sidebar-158X127.png | 3.63KB | 1.60KB | ▼ 55.89% |
lite/assets/images/sprite_1.png | 14.57KB | 5.69KB | ▼ 60.91% |
lite/message-types/messenger/themes/social.png | 5.47KB | 5.59KB | 0.00% |