Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.89ms] Passed 4 tests
Analyzing server-side resources used by Big Mailer - SendGrid
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.05 ▼3.60 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.22 ▼9.63 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.18 ▲0.51 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 87.49 ▼18.82 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.74 ▲0.96 |
Big Mailer/SendGrid /wp-admin/options-general.php?page=bigmailer | 3.25 | 32.21 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 175 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Big Mailer - SendGrid
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲60 | 13.52 ▲0.40 | 1.91 ▼4.23 | 39.45 ▼3.59 |
Dashboard /wp-admin | 2,215 ▲30 | 5.86 ▼0.01 | 98.25 ▼14.83 | 40.85 ▼6.31 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▲0.01 | 34.82 ▼0.44 | 32.87 ▼1.07 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.04 ▼0.33 | 672.35 ▲6.45 | 51.95 ▼1.64 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.25 ▲0.01 | 95.83 ▼8.01 | 41.55 ▼3.92 |
Big Mailer/SendGrid /wp-admin/options-general.php?page=bigmailer | 857 | 2.17 | 26.15 | 27.29 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- 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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 123× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Swift_Encoder' not found in wp-content/plugins/bigsendgrid/sendgrid-php/lib/swift/classes/Swift/Encoder/QpEncoder.php:19
- > PHP Fatal error
Uncaught Error: Class 'Swift_Plugins_BandwidthMonitorPlugin' not found in wp-content/plugins/bigsendgrid/sendgrid-php/lib/swift/classes/Swift/Plugins/ThrottlerPlugin.php:18
- > PHP Fatal error
Uncaught Error: Class 'Swift_Transport_SendmailTransport' not found in wp-content/plugins/bigsendgrid/sendgrid-php/lib/swift/classes/Swift/SendmailTransport.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Swift_InputByteStream' not found in wp-content/plugins/bigsendgrid/sendgrid-php/lib/swift/classes/Swift/KeyCache/KeyCacheInputStream.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Swift_Events_TransportChangeListener' not found in wp-content/plugins/bigsendgrid/sendgrid-php/lib/swift/classes/Swift/Plugins/PopBeforeSmtpPlugin.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Swift_Events_EventListener' not found in wp-content/plugins/bigsendgrid/sendgrid-php/lib/swift/classes/Swift/Events/CommandListener.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Swift_Mime_CharsetObserver' not found in wp-content/plugins/bigsendgrid/sendgrid-php/lib/swift/classes/Swift/Mime/HeaderFactory.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Swift_Mime_CharsetObserver' not found in wp-content/plugins/bigsendgrid/sendgrid-php/lib/swift/classes/Swift/Encoder.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Swift_Transport_Esmtp_Authenticator' not found in wp-content/plugins/bigsendgrid/sendgrid-php/lib/swift/classes/Swift/Transport/Esmtp/Auth/CramMd5Authenticator.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Swift_Mime_HeaderSet' not found in wp-content/plugins/bigsendgrid/sendgrid-php/lib/swift/classes/Swift/Mime/SimpleHeaderSet.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Screenshot #1 (Settings Page) image missing
bigsendgrid/BigMailer.php 85% from 13 tests
The principal PHP file in "Big Mailer - SendGrid" v. 1.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: The plugin description must be longer than 10 characters (currently 0 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bigsendgrid.php" instead of "BigMailer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected9,221 lines of code in 168 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 165 | 2,241 | 7,764 | 9,076 |
Markdown | 1 | 48 | 0 | 127 |
JSON | 1 | 0 | 0 | 9 |
JavaScript | 1 | 3 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 5.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 45 | |
Traits | 0 | |
Classes | 109 | |
▷ Abstract classes | 5 | 4.59% |
▷ Concrete classes | 104 | 95.41% |
▷ Final classes | 0 | 0.00% |
Methods | 977 | |
▷ Static methods | 28 | 2.87% |
▷ Public methods | 833 | 85.26% |
▷ Protected methods | 64 | 6.55% |
▷ Private methods | 80 | 8.19% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 40 | |
▷ Global constants | 4 | 10.00% |
▷ Class constants | 36 | 90.00% |
▷ Public constants | 36 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 48.08KB | 19.45KB | ▼ 59.55% |