Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin did not install without errors
- > Error in wp-content/plugins/echosign/echosign.php+72
Uncaught Error: Class 'SoapClient' not found in wp-content/plugins/echosign/echosign.php:72
Stack trace:
#0 wp-content/plugins/echosign/echosign.php(434): wp_echosign::instance()
#1 wp-content/plugins/echosign/echosign.php(496): echosign_init()
#2 wp-admin/includes/plugin.php(2318): include_once('/var/www/wordpr...')
#3 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.62ms] Passed 4 tests
This is a short check of server-side resources used by Echo Sign
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.51 ▲2.44 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.17 ▼17.50 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.21 ▲1.72 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.49 ▼11.03 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.33 ▲0.33 |
Server storage [IO: ▲1.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 73 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Echo Sign
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.22 ▼1.18 | 1.78 ▲0.20 | 42.14 ▲1.87 |
Dashboard /wp-admin | 2,209 ▲24 | 4.83 ▼1.08 | 99.41 ▼8.24 | 39.37 ▼8.05 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.01 | 39.83 ▲5.32 | 37.35 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.05 ▲5.60 | 637.47 ▲22.46 | 48.64 ▼4.51 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.23 ▼0.03 | 98.39 ▼2.48 | 41.79 ▼1.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'EchoSign\\Info\\AbstractCreationInfo' not found in wp-content/plugins/echosign/libs/echosign/lib/EchoSign/Info/DocumentCreationInfo.php:5
- > PHP Fatal error
Uncaught Error: Class 'EchoSign\\Options\\AbstractDocumentOptions' not found in wp-content/plugins/echosign/libs/echosign/lib/EchoSign/Options/GetDocumentsOptions.php:5
- > PHP Fatal error
Uncaught Error: Class 'EchoSign\\Options\\GetDocumentsOptions' not found in wp-content/plugins/echosign/libs/echosign/lib/EchoSign/Options/GetDocumentUrlsOptions.php:5
- > PHP Fatal error
Uncaught Error: Class 'EchoSign\\Options\\AbstractDocumentOptions' not found in wp-content/plugins/echosign/libs/echosign/lib/EchoSign/Options/GetDocumentImageUrlsOptions.php:5
- > PHP Fatal error
Uncaught Error: Class 'EchoSign\\Info\\AbstractCreationInfo' not found in wp-content/plugins/echosign/libs/echosign/lib/EchoSign/Info/WidgetCreationInfo.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Requires at least: The plugin version is formatted incorrectly
- Screenshots: These screenshots require images: #1 (Wordpress Echo Sign API Key in Settings), #2 (Wordpress Echo Sign Add New Template), #3 (Wordpress Echo Sign Echo Sign Document List)
- Tags: There are too many tags (12 tag instead of maximum 10)
echosign/echosign.php 92% from 13 tests
The principal PHP file in "Echo Sign" v. 1.4.1 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
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
Everything looks great! No dangerous files found in this plugin14,348 lines of code in 63 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 10 | 28 | 7,924 |
PHP | 29 | 836 | 606 | 2,870 |
Sass | 13 | 26 | 24 | 1,352 |
LESS | 13 | 26 | 33 | 1,343 |
SVG | 1 | 0 | 0 | 565 |
JavaScript | 2 | 83 | 35 | 270 |
Markdown | 1 | 18 | 0 | 24 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 10.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 266 | |
▷ Static methods | 18 | 6.77% |
▷ Public methods | 258 | 96.99% |
▷ Protected methods | 5 | 1.88% |
▷ Private methods | 3 | 1.13% |
Functions | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 13.15KB | 3.99KB | ▼ 69.68% |
screenshot-2.png | 32.67KB | 9.65KB | ▼ 70.48% |
screenshot-3.png | 55.28KB | 17.69KB | ▼ 68.00% |