Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.96ms] Passed 4 tests
This is a short check of server-side resources used by Newsletter Chat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.74 ▼6.21 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.96 ▼4.69 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.31 ▼0.37 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 92.53 ▼4.57 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.95 ▲1.01 |
Newsletter Chat /wp-admin/admin.php?page=newschat-settings | 3.25 | 36.58 |
Headlines /wp-admin/admin.php?page=newschat_headlines | 3.25 | 36.52 |
Support /wp-admin/admin.php?page=newschat_support | 3.24 | 31.36 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Newsletter Chat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.34 ▼0.02 | 1.76 ▼0.51 | 43.31 ▲1.02 |
Dashboard /wp-admin | 2,228 ▲54 | 5.64 ▼0.02 | 92.50 ▼11.19 | 37.84 ▼7.20 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 1.99 ▲0.01 | 39.14 ▲2.10 | 34.76 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,554 ▲17 | 23.16 ▲4.78 | 630.23 ▼31.28 | 54.53 ▼9.97 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.20 ▼0.02 | 97.13 ▼11.39 | 44.01 ▼0.28 |
Newsletter Chat /wp-admin/admin.php?page=newschat-settings | 817 | 2.00 | 29.37 | 40.09 |
Headlines /wp-admin/admin.php?page=newschat_headlines | 803 | 2.02 | 23.46 | 29.91 |
Support /wp-admin/admin.php?page=newschat_support | 805 | 2.03 | 24.51 | 45.45 |
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
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/newsletter-chat/newsletter-chat.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2 in newsletter-chat/assets to your readme.txt
newsletter-chat/newsletter-chat.php Passed 13 tests
This is the main PHP file of "Newsletter Chat" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
74 characters long description:
A lite plugin to generate today's posts as Newsletter to share on WhatsApp
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
Everything looks great! No dangerous files found in this plugin350 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 62 | 16 | 230 |
CSS | 1 | 35 | 0 | 120 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/whatsappicon.png | 3.01KB | 2.38KB | ▼ 20.97% |