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.01MB] [CPU: ▼2.12ms] Passed 4 tests
This is a short check of server-side resources used by EchBay Phonering Alo
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 43.52 ▼1.22 |
Dashboard /wp-admin | 3.32 ▲0.01 | 51.00 ▼1.56 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.32 ▼4.92 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 98.29 ▼0.77 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.72 ▼0.27 |
EchBay Phonering Alo /wp-admin/options-general.php?page=echbay-phonering-alo | 3.26 | 35.61 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for EchBay Phonering Alo
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲47 | 14.25 ▼0.10 | 1.89 ▲0.20 | 42.40 ▼2.93 |
Dashboard /wp-admin | 2,199 ▲24 | 5.58 ▼0.11 | 88.27 ▼24.61 | 39.98 ▼6.72 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.07 | 38.67 ▼2.68 | 32.40 ▼6.83 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.06 ▼0.12 | 655.23 ▲55.95 | 60.29 ▲6.26 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.17 ▼0.02 | 96.75 ▼5.51 | 41.41 ▼2.04 |
EchBay Phonering Alo /wp-admin/options-general.php?page=echbay-phonering-alo | 1,257 | 2.12 | 37.32 | 31.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/echbay-phonering-alo/includes/main_page.php
- > /wp-content/plugins/echbay-phonering-alo/epa.php
- > /wp-content/plugins/echbay-phonering-alo/epa-old.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% 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
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Phonering Alo display.), #2 (Phonering Alo setting in admin.)
echbay-phonering-alo/epa.php 77% from 13 tests
The main PHP file in "EchBay Phonering Alo" ver. 1.3.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("echbay-phonering-alo.php" instead of "epa.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin827 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 0 | 17 | 763 |
JavaScript | 3 | 0 | 2 | 42 |
HTML | 4 | 0 | 0 | 16 |
CSS | 6 | 0 | 0 | 6 |
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.34 |
Average class complexity | 38.50 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
4 compressed PNG files occupy 0.00MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/zalo.png | 1.06KB | 1.10KB | 0.00% |
images/call.png | 0.36KB | 0.37KB | 0.00% |
images/mail.png | 0.68KB | 0.69KB | 0.00% |
images/messenger.png | 0.73KB | 0.75KB | 0.00% |