Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.46MB] [CPU: ▼11.61ms] Passed 4 tests
A check of server-side resources used by FastPicker, an order picker and order management system (oms) for WooCommerce on steroids
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 44.43 ▲6.01 |
Dashboard /wp-admin | 3.56 ▲0.25 | 52.45 ▲0.93 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 51.80 ▼1.64 |
Add New Post /wp-admin/post-new.php | 3.37 ▼2.52 | 36.88 ▼48.70 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 37.00 ▲2.97 |
FastPicker /wp-admin/options-general.php?page=fastpicker | 3.39 | 34.68 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by FastPicker, an order picker and order management system (oms) for WooCommerce on steroids
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.37 ▼1.24 | 1.78 ▼0.06 | 46.39 ▲6.87 |
Dashboard /wp-admin | 2,209 ▲18 | 4.89 ▼1.01 | 98.21 ▼4.33 | 55.06 ▲11.98 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 1.99 ▼0.07 | 34.09 ▼9.82 | 45.60 ▲10.04 |
Add New Post /wp-admin/post-new.php | 1,520 ▼0 | 22.99 ▼0.27 | 661.62 ▼21.53 | 75.48 ▲20.17 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▼0.03 | 98.40 ▼15.52 | 51.47 ▲1.18 |
FastPicker /wp-admin/options-general.php?page=fastpicker | 842 | 2.02 | 24.37 | 61.41 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/fastpicker/fastpicker.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/fastpicker/src/Views/Settings.php:5
- > PHP Warning
Use of undefined constant WOO_ORDERPICKER_PLUGIN_URL - assumed 'WOO_ORDERPICKER_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/fastpicker/src/Views/Settings.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
fastpicker/fastpicker.php Passed 13 tests
The main file in "FastPicker, an order picker and order management system (oms) for WooCommerce on steroids" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
33 characters long description:
Plugin to connect with FastPicker
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,338 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 349 | 170 | 1,219 |
CSS | 1 | 19 | 0 | 95 |
JSON | 2 | 1 | 0 | 24 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 10.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 17 | 18.89% |
▷ Public methods | 76 | 84.44% |
▷ Protected methods | 2 | 2.22% |
▷ Private methods | 12 | 13.33% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 11.26KB | 2.59KB | ▼ 77.02% |