WordPress plugin DataQlick scored90%from 54 tests.

About plugin

  • Plugin page: dataqlick-invento...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.9.6
  • WordPress version: 6.3.1
  • First release: Oct 24, 2017
  • Latest release: Jun 6, 2018
  • Number of updates: 11
  • Update frequency: every 20.8 days
  • Top authors: dataqlick (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /924 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1440.54 ▲0.87
Dashboard /wp-admin3.44 ▲0.1045.52 ▼15.21
Posts /wp-admin/edit.php3.55 ▲0.2045.44 ▲2.11
Add New Post /wp-admin/post-new.php6.02 ▲0.1488.07 ▼6.42
Media Library /wp-admin/upload.php3.36 ▲0.1335.60 ▲2.09
DataQlick /wp-admin/options-general.php?page=dataqlick_inventory_settings_page3.3332.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲3313.30 ▼1.084.98 ▲3.1137.72 ▼6.37
Dashboard /wp-admin2,207 ▲155.85 ▲0.9195.83 ▼23.0537.64 ▼5.32
Posts /wp-admin/edit.php2,093 ▲42.04 ▲0.0538.44 ▲3.9634.95 ▲0.36
Add New Post /wp-admin/post-new.php1,541 ▲2422.97 ▲5.27615.08 ▼59.7954.92 ▲2.20
Media Library /wp-admin/upload.php1,389 ▲74.31 ▲0.1593.57 ▼2.5741.42 ▲0.44
DataQlick /wp-admin/options-general.php?page=dataqlick_inventory_settings_page9182.2126.1641.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:
LanguageFilesBlank linesComment linesLines of code
PHP122488901

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 code0.37
Average class complexity15.67
▷ Minimum class complexity1.00
▷ Maximum class complexity35.00
Average method complexity2.83
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes116.67%
▷ Concrete classes583.33%
▷ Final classes00.00%
Methods51
▷ Static methods1835.29%
▷ Public methods3160.78%
▷ Protected methods35.88%
▷ Private methods1733.33%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants5
▷ Global constants360.00%
▷ Class constants240.00%
▷ Public constants2100.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
FileSize - originalSize - compressedSavings
assets/screenshot-1.png100.02KB29.18KB▼ 70.82%