Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.78ms] Passed 4 tests
Server-side resources used by Contact Icons
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.56 ▼2.14 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.84 ▼2.36 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.93 ▼2.18 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.98 ▼11.68 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.03 ▼2.91 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Icons
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.38 ▼0.99 | 1.57 ▼0.08 | 43.34 ▲4.28 |
Dashboard /wp-admin | 2,206 ▲15 | 5.84 ▼0.06 | 94.11 ▼9.30 | 38.14 ▼4.79 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.01 | 34.32 ▼0.05 | 34.74 ▼1.12 |
Add New Post /wp-admin/post-new.php | 1,537 ▲17 | 23.14 ▼0.06 | 669.29 ▼7.10 | 53.80 ▲4.32 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.38 ▲0.13 | 99.00 ▼14.48 | 46.16 ▼1.55 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/contact-icons/contact-icons.php:109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Original page.), #2 (Page after plugin activation.)
contact-icons/contact-icons.php Passed 13 tests
The entry point to "Contact Icons" version 1.0.0 is a PHP file that has certain tags in its header comment area
91 characters long description:
Icons for your contact information: email, icq, skype, mobile, mts, beeline, life, kyivstar
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
Success! There were no dangerous files found in this plugin86 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 10 | 86 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
i/16/email.png | 0.58KB | 0.47KB | ▼ 19.83% |
screenshot-1.png | 36.93KB | 13.14KB | ▼ 64.42% |
i/16/tele.png | 0.61KB | 0.52KB | ▼ 14.56% |
i/16/mob.png | 0.19KB | 0.14KB | ▼ 27.18% |
i/16/mts.png | 0.68KB | 0.96KB | 0.00% |