Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼0.64ms] Passed 4 tests
Analyzing server-side resources used by Intercom Integration for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 42.00 ▼0.43 |
Dashboard /wp-admin | 3.41 ▲0.11 | 47.83 ▼2.53 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 54.39 ▲3.55 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 97.12 ▼1.03 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 39.72 ▲1.44 |
Intercom /wp-admin/options-general.php?page=intercom-wp | 3.30 | 33.87 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Intercom Integration for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲49 | 14.36 ▲0.00 | 1.72 ▼0.02 | 43.86 ▼0.29 |
Dashboard /wp-admin | 2,213 ▲36 | 5.64 ▲0.05 | 89.61 ▼16.07 | 40.77 ▼2.75 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 2.10 ▲0.09 | 41.55 ▼0.98 | 36.32 ▼1.66 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.72 ▲0.48 | 692.45 ▲40.54 | 53.18 ▼0.47 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.30 ▲0.15 | 100.90 ▼6.72 | 46.44 ▼2.45 |
Intercom /wp-admin/options-general.php?page=intercom-wp | 989 | 2.01 | 28.44 | 33.12 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Launchpad Activated), #2 (General Settings), #3 (Control the look and feel)
obox-intercom/index.php 77% from 13 tests
The primary PHP file in "Intercom Integration for WordPress" version 1.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages/")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("obox-intercom.php" instead of "index.php")
- Text Domain: The text domain should only use lowercase characters and dashes
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
There were no executable files found in this plugin670 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 195 | 111 | 497 |
CSS | 1 | 10 | 22 | 163 |
JavaScript | 2 | 4 | 14 | 10 |
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.52 |
Average class complexity | 46.50 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 5.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 19 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/cross.png | 0.28KB | 0.17KB | ▼ 41.52% |
assets/images/intercom-logo-huge.png | 23.06KB | 7.31KB | ▼ 68.30% |
assets/images/tick.png | 0.34KB | 0.22KB | ▼ 35.65% |
assets/images/intercom-logo-small.png | 23.15KB | 7.21KB | ▼ 68.84% |