Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/infility-global/infility_global.php+44
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.86ms] Passed 4 tests
Server-side resources used by Infility Global
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.25 ▼11.19 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.89 ▼7.40 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.25 ▼0.91 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 96.00 ▲0.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.54 ▲4.57 |
Server storage [IO: ▲1.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: 82 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
infility_global_configure |
widget_theysaidso_widget |
theysaidso_admin_options |
clean_revision |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Infility Global
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲130 | 13.36 ▼0.89 | 8.18 ▲6.33 | 40.68 ▼4.21 |
Dashboard /wp-admin | 2,214 ▲34 | 5.68 ▲0.07 | 90.63 ▼1.87 | 84.51 ▲37.60 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 1.98 ▼0.05 | 39.40 ▼1.44 | 37.71 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.18 ▼0.17 | 752.27 ▲80.37 | 52.42 ▼0.78 |
Media Library /wp-admin/upload.php | 1,413 ▲10 | 4.20 ▲0.01 | 95.27 ▼2.62 | 72.79 ▲30.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- clean_revision
- infility_global_configure
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/infility-global/widgets/keyword-pages/templates/keywords.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/infility-global/widgets/infility-redirect/infility-redirect.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/infility-global/widgets/contact-form-plugins/contact-form-plugins.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/infility-global/include/infility_guide_page.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/infility-global/widgets/infility-chat-tool/infility-chat-tool.php on line 373
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/infility-global/infility_global.php:21
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/infility-global/widgets/infility-chat-tool/infility-chat-tool.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/infility-global/widgets/keyword-pages/templates/keyword-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/infility-global/include/infility_setting_page.php:2
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/infility-global/widgets/infility-chat-tool/infility-chat-tool.php on line 23
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
infility-global/infility_global.php 85% from 13 tests
The principal PHP file in "Infility Global" v. 1.7.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "5.6")
- Main file name: Name the main plugin file the same as the plugin slug ("infility-global.php" instead of "infility_global.php")
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 plugin8,613 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 655 | 252 | 5,566 |
JavaScript | 16 | 114 | 115 | 2,290 |
CSS | 12 | 25 | 30 | 623 |
PO File | 1 | 50 | 61 | 134 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 27.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 134 | |
▷ Static methods | 33 | 24.63% |
▷ Public methods | 111 | 82.84% |
▷ Protected methods | 15 | 11.19% |
▷ Private methods | 8 | 5.97% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
27 PNG files occupy 0.69MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
widgets/contact-form-plugins/images/step_1.png | 27.65KB | 9.60KB | ▼ 65.27% |
widgets/infility-redirect/images/step_1.png | 27.65KB | 9.60KB | ▼ 65.27% |
images/guide/elementor_breadcrumbs_2.png | 16.63KB | 6.06KB | ▼ 63.58% |
images/guide/301jump_2.png | 49.77KB | 12.33KB | ▼ 75.22% |
images/guide/chat_tool_1.png | 18.75KB | 6.13KB | ▼ 67.32% |