Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼4.67ms] Passed 4 tests
A check of server-side resources used by DataQlick
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 40.54 ▲0.87 |
Dashboard /wp-admin | 3.44 ▲0.10 | 45.52 ▼15.21 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 45.44 ▲2.11 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 88.07 ▼6.42 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.60 ▲2.09 |
DataQlick /wp-admin/options-general.php?page=dataqlick_inventory_settings_page | 3.33 | 32.09 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for DataQlick
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.30 ▼1.08 | 4.98 ▲3.11 | 37.72 ▼6.37 |
Dashboard /wp-admin | 2,207 ▲15 | 5.85 ▲0.91 | 95.83 ▼23.05 | 37.64 ▼5.32 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.05 | 38.44 ▲3.96 | 34.95 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,541 ▲24 | 22.97 ▲5.27 | 615.08 ▼59.79 | 54.92 ▲2.20 |
Media Library /wp-admin/upload.php | 1,389 ▲7 | 4.31 ▲0.15 | 93.57 ▼2.57 | 41.42 ▲0.44 |
DataQlick /wp-admin/options-general.php?page=dataqlick_inventory_settings_page | 918 | 2.21 | 26.16 | 41.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: orders, sales, dataqlick, inventory
dataqlick-inventory-sales-sync-to-accounting/dataqlick.php 92% from 13 tests
The entry point to "DataQlick" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dataqlick-inventory-sales-sync-to-accounting.php" instead of "dataqlick.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected901 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 248 | 8 | 901 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 18 | 35.29% |
▷ Public methods | 31 | 60.78% |
▷ Protected methods | 3 | 5.88% |
▷ Private methods | 17 | 33.33% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 100.02KB | 29.18KB | ▼ 70.82% |