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.30MB] [CPU: ▼4.76ms] Passed 4 tests
An overview of server-side resources used by THRIVE eSig Generator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 42.46 ▼2.07 |
Dashboard /wp-admin | 3.58 ▲0.28 | 51.72 ▼2.09 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 52.41 ▲4.32 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 86.19 ▼16.50 |
Media Library /wp-admin/upload.php | 3.50 ▲0.28 | 39.78 ▲1.62 |
All Signatures /wp-admin/edit.php?post_type=siggen-signature | 3.55 | 39.88 |
Add New /wp-admin/post-new.php?post_type=siggen-signature | 3.62 | 95.03 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 43 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
siggen_version |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for THRIVE eSig Generator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲169 | 13.81 ▼0.62 | 5.75 ▲3.85 | 46.76 ▲4.66 |
Dashboard /wp-admin | 2,232 ▲44 | 4.84 ▼0.04 | 108.58 ▼2.35 | 40.85 ▼3.56 |
Posts /wp-admin/edit.php | 2,118 ▲26 | 2.17 ▲0.17 | 37.33 ▼4.75 | 37.67 ▲0.58 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.09 ▲5.31 | 668.15 ▼34.49 | 50.11 ▼5.08 |
Media Library /wp-admin/upload.php | 1,417 ▲35 | 4.23 ▲0.02 | 96.62 ▼13.48 | 41.36 ▼7.76 |
All Signatures /wp-admin/edit.php?post_type=siggen-signature | 1,082 | 1.95 | 32.70 | 30.53 |
Add New /wp-admin/post-new.php?post_type=siggen-signature | 2,154 | 3.79 | 79.51 | 37.70 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- siggen_version
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/thrive-esig-gen/includes/templates/single-siggen-signature.php:3
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: template, generator, wordpress, signature, plugin...
thrive-esig-gen/siggen.php 85% from 13 tests
The main PHP file in "THRIVE eSig Generator" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("thrive-esig-gen.php" instead of "siggen.php")
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
Good job! No executable or dangerous file extensions detected1,905 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 250 | 694 | 1,713 |
JavaScript | 7 | 29 | 35 | 154 |
CSS | 2 | 5 | 4 | 38 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 28.20 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 2 | 4.00% |
▷ Public methods | 47 | 94.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
22 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/socials/circle/twitter.png | 1.22KB | 1.36KB | 0.00% |
assets/img/socials/circle/medium.png | 1.33KB | 1.43KB | 0.00% |
assets/img/socials/normal/medium.png | 1.20KB | 1.38KB | 0.00% |
assets/img/socials/circle/slack.png | 1.44KB | 1.34KB | ▼ 6.79% |
assets/img/socials/normal/youtube.png | 0.78KB | 0.93KB | 0.00% |