Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/postmatic/vendor/composer/autoload_real.php+70
require(wp-content/plugins/postmatic/vendor/composer/../symfony/polyfill-ctype/bootstrap.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼0.00MB] [CPU: ▼147.12ms] Passed 4 tests
A check of server-side resources used by Replyable - Subscribe to Comments and Reply by Email
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 23.65 ▲1.77 |
Dashboard /wp-admin | 3.06 ▼0.00 | 30.88 ▼6.15 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 29.40 ▼1.12 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 67.69 ▼582.35 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 22.47 ▲1.16 |
Server storage [IO: ▲10.59MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 550 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Replyable - Subscribe to Comments and Reply by Email
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲65 | 15.98 ▲0.29 | 4.99 ▼0.08 | 76.13 ▼0.70 |
Dashboard /wp-admin | 2,929 ▲33 | 6.01 ▼0.19 | 113.70 ▼20.80 | 166.11 ▼6.80 |
Posts /wp-admin/edit.php | 2,743 ▲3 | 3.24 ▲0.02 | 65.12 ▲1.81 | 129.21 ▼9.38 |
Add New Post /wp-admin/post-new.php | 3,735 ▼73 | 18.19 ▼0.01 | 409.66 ▼27.68 | 157.54 ▼20.19 |
Media Library /wp-admin/upload.php | 1,752 ▲3 | 5.54 ▲0.02 | 147.14 ▲4.43 | 188.14 ▲3.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Please fix the following items
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/postmatic/templates/text/text-email-wrapper.php
- > /wp-content/plugins/postmatic/templates/html/test-email.php
- > /wp-content/plugins/postmatic/templates/html/email-options-tab-footer.php
- > /wp-content/plugins/postmatic/vendor/vernal-creative/html-to-markdown/demo/index.php
- > /wp-content/plugins/postmatic/templates/html-inlined/test-email.php
- 141× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_post_thumbnail() in wp-content/plugins/postmatic/vendor/postmatic/commentium/templates/comment-digest-email.php:16
- > PHP Fatal error
Uncaught Error: Call to a member function subscription_description() on null in wp-content/plugins/postmatic/templates/html-inlined/subscribed-email.php:11
- > PHP Notice
Undefined variable: is_trial_underway in wp-content/plugins/postmatic/templates/html/core-options-promo.php on line 29
- > PHP Fatal error
Uncaught Error: Interface 'Handlebars\\Cache' not found in wp-content/plugins/postmatic/vendor/salesforce/handlebars-php/src/Handlebars/Cache/APC.php:17
- > PHP Notice
Undefined variable: is_trial_underway in wp-content/plugins/postmatic/templates/html/core-options-promo.php on line 49
- > PHP Fatal error
Uncaught Error: Class 'Prompt_Text_Template' not found in wp-content/plugins/postmatic/vendor/postmatic/commentium/source/Templates/Text.php:10
- > PHP Notice
Undefined variable: is_paying in wp-content/plugins/postmatic/templates/html/core-options-promo.php on line 29
- > PHP Notice
Undefined variable: brand_text in wp-content/plugins/postmatic/templates/text/text-email-wrapper.php on line 14
- > PHP Fatal error
Uncaught Error: Interface 'Postmatic\\Commentium\\Repositories\\Comment_IQ' not found in wp-content/plugins/postmatic/vendor/postmatic/commentium/source/Repositories/Comment_IQ_API.php:15
- > PHP Fatal error
Uncaught Error: Class 'Prompt_Option_Subscribable_Object' not found in wp-content/plugins/postmatic/core/site-comments.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
postmatic/postmatic.php 92% from 13 tests
The main PHP file in "Replyable - Subscribe to Comments and Reply by Email" ver. 2.2.9 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin83,280 lines of code in 424 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 315 | 11,609 | 25,145 | 48,073 |
PO File | 18 | 10,588 | 12,888 | 26,046 |
Sass | 34 | 465 | 80 | 2,862 |
JSON | 10 | 1 | 0 | 2,815 |
CSS | 17 | 313 | 12 | 1,546 |
Markdown | 11 | 397 | 0 | 1,014 |
JavaScript | 11 | 167 | 120 | 860 |
YAML | 6 | 3 | 0 | 44 |
XML | 1 | 2 | 0 | 13 |
Bourne Shell | 1 | 3 | 1 | 7 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 2,911)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 26.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 13 | |
Traits | 0 | |
Classes | 202 | |
▷ Abstract classes | 10 | 4.95% |
▷ Concrete classes | 192 | 95.05% |
▷ Final classes | 0 | 0.00% |
Methods | 2,263 | |
▷ Static methods | 414 | 18.29% |
▷ Public methods | 1,624 | 71.76% |
▷ Protected methods | 268 | 11.84% |
▷ Private methods | 371 | 16.39% |
Functions | 110 | |
▷ Named functions | 107 | 97.27% |
▷ Anonymous functions | 3 | 2.73% |
Constants | 211 | |
▷ Global constants | 99 | 46.92% |
▷ Class constants | 112 | 53.08% |
▷ Public constants | 112 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
46 PNG files occupy 2.71MB with 1.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
media/icons/p.png | 0.96KB | 0.55KB | ▼ 43.08% |
vendor/freemius/wordpress-sdk/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
media/analytics_full.png | 883.34KB | 256.92KB | ▼ 70.91% |
media/background.png | 38.02KB | 20.66KB | ▼ 45.66% |
media/replyable.png | 31.42KB | 11.01KB | ▼ 64.94% |