Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▲0.20ms] Passed 4 tests
This is a short check of server-side resources used by Cresta Social Messenger
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 41.55 ▲3.93 |
Dashboard /wp-admin | 3.54 ▲0.23 | 46.49 ▼0.17 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 46.92 ▼1.19 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 88.02 ▲1.25 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 34.74 ▲0.90 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
crestafacebookmessenger_settings |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cresta Social Messenger
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲141 | 13.58 ▼1.01 | 5.50 ▲3.54 | 44.75 ▲4.43 |
Dashboard /wp-admin | 2,210 ▲25 | 4.84 ▼0.20 | 108.54 ▲5.86 | 40.61 ▼3.02 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.06 ▲0.09 | 38.98 ▲1.70 | 34.02 ▼2.54 |
Add New Post /wp-admin/post-new.php | 6,472 ▲4,930 | 20.31 ▲1.98 | 909.74 ▲303.31 | 67.56 ▲19.23 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.24 ▲0.06 | 95.75 ▲2.93 | 39.55 ▼0.60 |
Cresta Social Messenger /wp-admin/cresta-facebook-messenger.php | 26 | 0.44 | 0.10 | 13.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/cresta-facebook-messenger/uninstall.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/cresta-facebook-messenger.php
- > Network (severe)
wp-admin/cresta-facebook-messenger.php - Failed to load resource: the server responded with a status of 404 (Not Found)
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:
- Screenshots: Add an image for screenshot #1 (Cresta Facebook Messenger Settings Page)
cresta-facebook-messenger/cresta-facebook-messenger.php 92% from 13 tests
The principal PHP file in "Cresta Social Messenger" v. 1.2.4 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 239 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,321 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 33 | 27 | 918 |
CSS | 3 | 2 | 0 | 395 |
XML | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
5 compressed PNG files occupy 0.11MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/banner-cresta-social-share-counter.png | 60.60KB | 63.49KB | 0.00% |
images/banner-cresta-whatsapp-chat.png | 6.98KB | 7.38KB | 0.00% |
images/5-stars.png | 0.34KB | 0.39KB | 0.00% |
screenshot-1.png | 33.77KB | 34.06KB | 0.00% |
images/banner-cresta-facebook-messenger-pro.png | 7.52KB | 7.91KB | 0.00% |