Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▲0.15ms] Passed 4 tests
An overview of server-side resources used by Push Anything To Social
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.25 ▲1.48 |
Dashboard /wp-admin | 3.36 ▲0.05 | 50.63 ▼1.90 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 51.34 ▼0.03 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 96.02 ▲1.04 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.06 ▲1.85 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
It is recommended to fix the following issues
- Illegal file modification found: 1 file (0.00KB) outside of "wp-content/plugins/phongmy-push-anything-to-social/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/phongmy-push-anything-to-social/assets/banner-772\303\227250.png"
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Push Anything To Social
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.55 ▼0.88 | 1.71 ▼0.25 | 42.65 ▼0.13 |
Dashboard /wp-admin | 2,221 ▲21 | 5.81 ▼0.03 | 98.68 ▼4.49 | 38.95 ▼4.13 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.04 | 40.92 ▲0.78 | 35.87 ▼1.22 |
Add New Post /wp-admin/post-new.php | 1,526 ▼15 | 17.46 ▼6.04 | 657.93 ▲33.42 | 61.28 ▲8.74 |
Media Library /wp-admin/upload.php | 1,391 ▼6 | 4.20 ▼0.04 | 99.08 ▼18.70 | 43.79 ▼4.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/phongmy-push-anything-to-social/phongmy-push-anything-to-social.php
- > /wp-content/plugins/phongmy-push-anything-to-social/donate.php
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: woocommerce, whatsapp order, telegram order, facebook bot, woocommerce to facebook messenger
phongmy-push-anything-to-social/phongmy-push-anything-to-social.php 92% from 13 tests
"Push Anything To Social" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin408 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 29 | 12 | 333 |
CSS | 1 | 0 | 0 | 75 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.25MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 84.23KB | 41.83KB | ▼ 50.33% |
assets/icon-128x128.png | 5.04KB | 3.67KB | ▼ 27.26% |
assets/icon-256x256.png | 5.04KB | 3.67KB | ▼ 27.26% |
assets/banner-772×250.png | 71.84KB | 27.86KB | ▼ 61.22% |
assets/screenshot-2.png | 93.11KB | 43.34KB | ▼ 53.45% |