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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.26ms] Passed 4 tests
Analyzing server-side resources used by Wollow
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.05 ▼6.64 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.27 ▼7.71 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 56.08 ▲4.63 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 87.16 ▼11.85 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.99 ▲1.18 |
Wollow /wp-admin/admin.php?page=wollow | 3.26 | 36.62 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
wollow1 |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Wollow
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲111 | 13.75 ▼0.61 | 7.36 ▲5.09 | 42.20 ▼5.78 |
Dashboard /wp-admin | 2,195 ▲18 | 5.66 ▲0.01 | 94.83 ▲6.49 | 38.57 ▼3.15 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.02 ▲0.04 | 41.14 ▲2.65 | 37.90 ▲2.70 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.19 ▼0.04 | 663.12 ▼33.60 | 58.64 ▲5.38 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.29 ▲0.14 | 97.65 ▼15.04 | 44.24 ▼3.18 |
Wollow /wp-admin/admin.php?page=wollow | 1,137 | 7.55 | 193.80 | 83.52 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- wollow1
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wollow/public/partials/wollow-public-display.php
- > /wp-content/plugins/wollow/admin/partials/export-csv.php
- > /wp-content/plugins/wollow/admin/partials/wollow-admin-display.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wollow/admin/partials/submenu/wollow-free.php:26
- > PHP Warning
Use of undefined constant WOLLOW_URL - assumed 'WOLLOW_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wollow/admin/partials/export-csv.php on line 6
- > PHP Notice
Undefined variable: status in wp-content/plugins/wollow/admin/partials/export-csv.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: woocommerce notification, order notification, mobile notification, whatsapp notification
wollow/wollow.php Passed 13 tests
The principal PHP file in "Wollow" v. 1.0.1 is loaded by WordPress automatically on each request
57 characters long description:
Grow businnes with integration woocommerce with whatsapp.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,437 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 244 | 723 | 873 |
CSS | 6 | 108 | 48 | 444 |
JavaScript | 5 | 30 | 30 | 100 |
SVG | 8 | 1 | 2 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 7.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 4 | 7.02% |
▷ Public methods | 48 | 84.21% |
▷ Protected methods | 1 | 1.75% |
▷ Private methods | 8 | 14.04% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
6 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/send.png | 0.24KB | 0.25KB | 0.00% |
admin/images/close.png | 0.21KB | 0.20KB | ▼ 3.74% |
admin/images/arrow-back.png | 0.18KB | 0.19KB | 0.00% |
admin/images/close_dark.png | 0.32KB | 0.23KB | ▼ 26.93% |
admin/images/lepas-integrasi.png | 0.30KB | 0.25KB | ▼ 16.34% |