Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.55ms] Passed 4 tests
A check of server-side resources used by futusign
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 34.37 ▼3.68 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.06 ▲1.89 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.91 ▲8.03 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 89.50 ▼15.85 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.26 ▼0.56 |
Server storage [IO: ▲14.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 176 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by futusign
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲74 | 13.18 ▼1.21 | 1.72 ▲0.07 | 38.40 ▼0.31 |
Dashboard /wp-admin | 2,226 ▲37 | 5.87 ▲0.94 | 99.25 ▼24.50 | 38.22 ▼10.49 |
Posts /wp-admin/edit.php | 2,112 ▲20 | 2.01 ▲0.01 | 40.00 ▲2.88 | 37.52 ▲7.77 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 17.54 ▼0.78 | 663.09 ▲28.48 | 51.78 ▲0.76 |
Media Library /wp-admin/upload.php | 1,405 ▲14 | 4.28 ▲0.07 | 97.59 ▼7.02 | 41.95 ▼2.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
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
Good news, no errors were detected
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
Almost there! Just fix the following items
- 9× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/futusign/public/screen/index.php
- > /wp-content/plugins/futusign/admin/index.php
- > /wp-content/plugins/futusign/public/partials/index.php
- > /wp-content/plugins/futusign/inactive/partials/index.php
- > /wp-content/plugins/futusign/index.php
- > /wp-content/plugins/futusign/public/index.php
- > /wp-content/plugins/futusign/inactive/index.php
- > /wp-content/plugins/futusign/includes/index.php
- > /wp-content/plugins/futusign/common/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: signage, digital
futusign/futusign.php 92% from 13 tests
The entry point to "futusign" version 3.0.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
There were no executable files found in this plugin6,736 lines of code in 115 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 52 | 50 | 1,659 | 2,334 |
JSX | 20 | 20 | 60 | 2,071 |
PHP | 18 | 5 | 724 | 1,599 |
HTML | 10 | 0 | 0 | 360 |
CSS | 10 | 0 | 0 | 192 |
JSON | 4 | 1 | 0 | 131 |
Markdown | 1 | 15 | 0 | 49 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 7.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 4 | 6.25% |
▷ Public methods | 56 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 12.50% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
14 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
common/img/image.png | 0.45KB | 0.34KB | ▼ 22.59% |
public/screen/src/components/App/NoMedia/noMedia.png | 7.03KB | 3.68KB | ▼ 47.61% |
public/screen/src/components/App/OfflineImage/offline.png | 9.66KB | 4.69KB | ▼ 51.44% |
admin/screen/src/components/App/img/image.png | 0.45KB | 0.34KB | ▼ 22.59% |
admin/screen/src/components/App/img/youtube_video.png | 0.34KB | 0.25KB | ▼ 27.48% |