Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.90MB] [CPU: ▼58.78ms] Passed 4 tests
Analyzing server-side resources used by IEX Integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.10 ▼0.36 | 9.26 ▼31.34 |
Dashboard /wp-admin | 3.12 ▼0.23 | 10.45 ▼55.38 |
Posts /wp-admin/edit.php | 3.12 ▼0.24 | 9.12 ▼42.43 |
Add New Post /wp-admin/post-new.php | 3.12 ▼2.77 | 9.24 ▼105.97 |
Media Library /wp-admin/upload.php | 3.12 ▼0.11 | 10.32 ▼24.83 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for IEX Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲56 | 14.42 ▲0.28 | 1.68 ▼0.05 | 44.84 ▲4.72 |
Dashboard /wp-admin | 2,211 ▲31 | 5.86 ▲0.21 | 95.00 ▲5.29 | 83.90 ▲39.92 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.19 ▲0.24 | 34.68 ▼1.29 | 36.42 ▲2.69 |
Add New Post /wp-admin/post-new.php | 1,707 ▲176 | 22.61 ▼0.58 | 716.36 ▲108.83 | 55.69 ▲4.86 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.31 ▲0.16 | 105.02 ▲4.88 | 64.55 ▲20.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 validation failed for this plugin
- > Warning in wp-content/plugins/iex-integration/iex.php+40
Use of undefined constant WC_VERSION - assumed 'WC_VERSION' (this will throw an Error in a future version of PHP)
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% 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 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/iex-integration/iex.php:2929
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
iex-integration/iex.php 85% from 13 tests
The principal PHP file in "IEX Integration" v. 2.2.5.11 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "2.6")
- Main file name: The principal plugin file should be the same as the plugin slug ("iex-integration.php" instead of "iex.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected2,395 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 543 | 292 | 2,248 |
PO File | 1 | 57 | 126 | 120 |
JavaScript | 1 | 1 | 1 | 19 |
CSS | 1 | 0 | 1 | 8 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 210)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 244.50 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 474.00 |
Average method complexity | 13.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 210.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 | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 97.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.56% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/iex-integration-colored.png | 1.00KB | 0.14KB | ▼ 86.22% |
img/iex-integration-wordpress.png | 1.00KB | 0.13KB | ▼ 87.51% |