Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.69ms] Passed 4 tests
Server-side resources used by Piri FAQ AI Assistant
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 42.67 ▼6.22 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.04 ▼3.07 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 48.12 ▲1.89 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 83.97 ▼14.34 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.99 ▲0.88 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
piri_faa_example_setting |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Piri FAQ AI Assistant
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲194 | 15.03 ▲0.68 | 46.21 ▲44.28 | 42.24 ▼7.19 |
Dashboard /wp-admin | 2,218 ▲33 | 4.81 ▼1.07 | 109.36 ▲9.30 | 36.04 ▼0.44 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.06 ▲0.02 | 38.31 ▼3.71 | 35.90 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,543 ▲2 | 23.14 ▲4.88 | 643.55 ▼18.59 | 56.99 ▲0.65 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.15 ▼0.07 | 98.28 ▼6.06 | 41.19 ▼2.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- piri_faa_example_setting
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: Screenshot #1 (Chat bot widget on your Website.) image not found
piri-faq-ai-assistant/piri-faq-ai-assistant.php 92% from 13 tests
"Piri FAQ AI Assistant" version 1.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
Good job! No executable or dangerous file extensions detected473 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 122 | 282 | 383 |
JavaScript | 2 | 11 | 50 | 66 |
Markdown | 1 | 18 | 0 | 23 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 16 | 48.48% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin