Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.21MB] [CPU: ▲3.78ms] Passed 4 tests
Analyzing server-side resources used by AI Infographic Maker OpenAI
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.39 ▲0.92 | 43.27 ▲0.46 |
Dashboard /wp-admin | 4.65 ▲1.30 | 61.93 ▼1.64 |
Posts /wp-admin/edit.php | 4.73 ▲1.37 | 66.11 ▲15.92 |
Add New Post /wp-admin/post-new.php | 7.18 ▲1.29 | 99.20 ▲0.38 |
Media Library /wp-admin/upload.php | 4.58 ▲1.34 | 51.10 ▲17.03 |
Support /wp-admin/edit.php?post_type=ilist&page=qcopd_ilist_supports | 4.55 | 49.59 |
Manage iList Items /wp-admin/edit.php?post_type=ilist | 4.63 | 50.13 |
New iList /wp-admin/post-new.php?post_type=ilist | 5.13 | 69.71 |
Settings /wp-admin/edit.php?post_type=ilist&page=ilist_settings | 4.56 | 53.97 |
Server storage [IO: ▲11.64MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 829 new files
Database: no new tables, 13 new options
New WordPress options |
---|
sl_openai_engines |
ilisthclpage |
db_upgraded |
widget_theysaidso_widget |
ilist_ot_convrt |
can_compress_scripts |
sl_openai_frequency_penalty |
sl_openai_max_token |
widget_recent-posts |
sl_openai_presence_penalty |
... |
Browser metrics Passed 4 tests
AI Infographic Maker OpenAI: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 14,595 ▲11,848 | 13.89 ▼0.45 | 6.92 ▲5.35 | 27.05 ▼16.79 |
Dashboard /wp-admin | 13,884 ▲11,707 | 5.32 ▼0.35 | 140.40 ▲51.90 | 48.19 ▲7.41 |
Posts /wp-admin/edit.php | 13,792 ▲11,692 | 2.42 ▲0.47 | 53.54 ▲14.18 | 37.27 ▲2.98 |
Add New Post /wp-admin/post-new.php | 18,055 ▲16,526 | 28.60 ▲5.41 | 879.43 ▲241.42 | 38.73 ▼14.89 |
Media Library /wp-admin/upload.php | 13,085 ▲11,688 | 4.58 ▲0.40 | 111.00 ▲9.07 | 45.24 ▲1.69 |
Support /wp-admin/edit.php?post_type=ilist&page=qcopd_ilist_supports | 13,355 | 2.34 | 69.39 | 82.27 |
Manage iList Items /wp-admin/edit.php?post_type=ilist | 13,204 | 3.95 | 137.28 | 50.73 |
New iList /wp-admin/post-new.php?post_type=ilist | 14,843 | 8.66 | 319.41 | 145.69 |
Settings /wp-admin/edit.php?post_type=ilist&page=ilist_settings | 13,373 | 2.49 | 69.14 | 51.37 |
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
- This plugin does not fully uninstall, leaving 13 options in the database
- widget_theysaidso_widget
- ilist_ot_convrt
- db_upgraded
- sl_openai_temperature
- theysaidso_admin_options
- widget_recent-posts
- sl_openai_presence_penalty
- sl_openai_max_token
- sl_openai_engines
- sl_openai_frequency_penalty
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 11× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/infographic-and-list-builder-ilist/qc-project-ilist-chart.php
- > /wp-content/plugins/infographic-and-list-builder-ilist/embed/embedder.php
- > /wp-content/plugins/infographic-and-list-builder-ilist/qc-project-ilist-shortcode.php
- > /wp-content/plugins/infographic-and-list-builder-ilist/qc-project-ilist-asset.php
- > /wp-content/plugins/infographic-and-list-builder-ilist/qc-project-ilist-hook.php
- > /wp-content/plugins/infographic-and-list-builder-ilist/qc-project-ilist-ajax.php
- > /wp-content/plugins/infographic-and-list-builder-ilist/qc-project-ilist-post-type.php
- > /wp-content/plugins/infographic-and-list-builder-ilist/embed/qcld-embed-link.php
- > /wp-content/plugins/infographic-and-list-builder-ilist/qc-project-ilist-frameworks.php
- > /wp-content/plugins/infographic-and-list-builder-ilist/qc-project-ilist-main.php
- 71× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/infographic-and-list-builder-ilist/views/infographic-template-five/template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/infographic-and-list-builder-ilist/views/image-template-three/template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/infographic-and-list-builder-ilist/views/infographic-template-thirteen/template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/infographic-and-list-builder-ilist/views/simple-list-two/template.php:2
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/infographic-and-list-builder-ilist/inc/CMB2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/infographic-and-list-builder-ilist/inc/CMB2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/infographic-and-list-builder-ilist/inc/CMB2/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/infographic-and-list-builder-ilist/views/image-template-one/template.php:2
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/infographic-and-list-builder-ilist/inc/CMB2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function Cmb2Grid\\trailingslashit() in wp-content/plugins/infographic-and-list-builder-ilist/inc/grid-master/Cmb2GridPluginLoad.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: ai, listicle, charts, openai, infographic
infographic-and-list-builder-ilist/qc-project-ilist-main.php 77% from 13 tests
"AI Infographic Maker OpenAI" version 4.6.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("infographic-and-list-builder-ilist.php" instead of "qc-project-ilist-main.php")
- Requires at least: Required version must match the one declared in readme.txt ("4.9" instead of "4.6")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 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 plugin101,530 lines of code in 364 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 13,787 | 17,890 | 31,582 |
CSS | 70 | 2,265 | 1,131 | 29,035 |
JavaScript | 32 | 3,585 | 3,207 | 15,785 |
PHP | 109 | 3,442 | 6,629 | 13,333 |
JSON | 4 | 0 | 0 | 7,075 |
SVG | 5 | 1 | 0 | 2,703 |
Sass | 18 | 296 | 26 | 1,355 |
Markdown | 3 | 208 | 0 | 609 |
YAML | 1 | 9 | 33 | 28 |
XML | 2 | 5 | 4 | 25 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 16.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 182.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 79 | |
▷ Abstract classes | 9 | 11.39% |
▷ Concrete classes | 70 | 88.61% |
▷ Final classes | 0 | 0.00% |
Methods | 602 | |
▷ Static methods | 87 | 14.45% |
▷ Public methods | 497 | 82.56% |
▷ Protected methods | 100 | 16.61% |
▷ Private methods | 5 | 0.83% |
Functions | 96 | |
▷ Named functions | 96 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 14 | 60.87% |
▷ Class constants | 9 | 39.13% |
▷ Public constants | 9 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
132 PNG files occupy 1.84MB with 0.96MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
qc-support-promo-page/images/premium-theme-coming-soont.png | 42.28KB | 15.04KB | ▼ 64.44% |
assets/js/16_pixel.png | 1.14KB | 0.41KB | ▼ 64.42% |
qc-support-promo-page/images/seo-help.png | 28.00KB | 11.38KB | ▼ 59.34% |
qc-support-promo-page/images/notice-pro.png | 6.63KB | 4.80KB | ▼ 27.49% |
qc-support-promo-page/images/icon-pack/service-08.png | 2.54KB | 1.42KB | ▼ 44.28% |