Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.27ms] Passed 4 tests
Analyzing server-side resources used by Instant-Quote.co Asset Datasheet
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.68 ▼1.24 |
Dashboard /wp-admin | 3.38 ▲0.04 | 50.98 ▼4.51 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.01 ▲3.35 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 91.64 ▼4.84 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 32.71 ▲1.53 |
Instant-Quote.co Asset Datasheet /wp-admin/options-general.php?page=IQdatasheet_template | 3.27 | 33.34 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Instant-Quote.co Asset Datasheet
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.33 ▼1.05 | 1.61 ▼0.24 | 41.77 ▲2.60 |
Dashboard /wp-admin | 2,214 ▲31 | 5.85 ▲0.96 | 106.95 ▲0.16 | 40.99 ▼4.00 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.01 ▲0.00 | 38.33 ▲1.50 | 36.71 ▲5.01 |
Add New Post /wp-admin/post-new.php | 1,549 ▲35 | 18.56 ▲0.96 | 608.93 ▼160.75 | 45.99 ▼8.45 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.23 ▲0.02 | 98.57 ▲2.93 | 42.86 ▼1.65 |
Instant-Quote.co Asset Datasheet /wp-admin/options-general.php?page=IQdatasheet_template | 992 | 2.19 | 21.84 | 27.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
No output text or server-side errors detected on direct access of PHP files
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: asset datasheet, datasheet, iq, instant quote, instant-quote
iq-asset-datasheet/IQ-asset-datasheet.php 85% from 13 tests
The primary PHP file in "Instant-Quote.co Asset Datasheet" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("iq-asset-datasheet.php" instead of "IQ-asset-datasheet.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin786 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 22 | 9 | 284 |
PHP | 1 | 46 | 59 | 258 |
JavaScript | 1 | 26 | 1 | 244 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/IQ_logo.png | 76.32KB | 24.84KB | ▼ 67.45% |