Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/spider-contacts/contacts.php+1617
Undefined variable: table_name
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.45ms] Passed 4 tests
This is a short check of server-side resources used by SpiderContacts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 33.57 ▼9.27 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.97 ▼7.08 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.29 ▲0.85 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 96.66 ▲2.87 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.02 ▲1.72 |
Contacts /wp-admin/admin.php?page=Single_Spider_contact | 3.58 | 38.17 |
Uninstall Spider Contact /wp-admin/admin.php?page=Uninstall_Spider_Contact | 3.23 | 42.52 |
Licensing /wp-admin/admin.php?page=Spider_contact_Licensing | 3.23 | 28.13 |
Styles and Colors /wp-admin/admin.php?page=Options_contact_styles | 3.27 | 31.68 |
Message /wp-admin/admin.php?page=Massages_Spider_contact | 3.40 | 35.24 |
Global Options /wp-admin/admin.php?page=Options_contact_global | 3.23 | 38.09 |
Message Options /wp-admin/admin.php?page=Options_masasge_options | 3.23 | 30.53 |
Categories /wp-admin/admin.php?page=Categories_Spider_contact | 3.47 | 34.68 |
Server storage [IO: ▲5.11MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 159 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_spidercontacts_contacts_categories |
wp_spidercontacts_messages |
wp_spidercontacts_params |
wp_spidercontacts_contacts |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for SpiderContacts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲133 | 13.62 ▼0.76 | 2.21 ▲0.15 | 38.66 ▼10.01 |
Dashboard /wp-admin | 2,251 ▲63 | 4.90 ▼0.91 | 104.40 ▼1.68 | 65.87 ▲21.82 |
Posts /wp-admin/edit.php | 2,166 ▲80 | 2.27 ▲0.27 | 38.81 ▲2.21 | 41.20 ▲5.11 |
Add New Post /wp-admin/post-new.php | 1,575 ▲56 | 18.06 ▼5.01 | 592.02 ▼56.43 | 65.87 ▲14.36 |
Media Library /wp-admin/upload.php | 1,458 ▲73 | 4.34 ▲0.16 | 96.47 ▼6.49 | 79.51 ▲35.65 |
Contacts /wp-admin/admin.php?page=Single_Spider_contact | 1,176 | 2.08 | 28.72 | 35.86 |
Uninstall Spider Contact /wp-admin/admin.php?page=Uninstall_Spider_Contact | 921 | 1.93 | 25.04 | 26.65 |
Licensing /wp-admin/admin.php?page=Spider_contact_Licensing | 867 | 1.94 | 26.07 | 22.80 |
Styles and Colors /wp-admin/admin.php?page=Options_contact_styles | 874 | 1.93 | 25.02 | 30.31 |
Message /wp-admin/admin.php?page=Massages_Spider_contact | 1,080 | 2.21 | 29.15 | 31.97 |
Global Options /wp-admin/admin.php?page=Options_contact_global | 866 | 1.84 | 29.05 | 29.07 |
Message Options /wp-admin/admin.php?page=Options_masasge_options | 868 | 1.92 | 26.02 | 27.30 |
Categories /wp-admin/admin.php?page=Categories_Spider_contact | 1,018 | 1.82 | 24.58 | 31.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_spidercontacts_params
- wp_spidercontacts_contacts
- wp_spidercontacts_contacts_categories
- wp_spidercontacts_messages
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 9× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/spider-contacts/contact_contact.html.php
- > /wp-content/plugins/spider-contacts/contact_contact.php
- > /wp-content/plugins/spider-contacts/messages.php
- > /wp-content/plugins/spider-contacts/Categories.php
- > /wp-content/plugins/spider-contacts/messages.html.php
- > /wp-content/plugins/spider-contacts/Categories.html.php
- > /wp-content/plugins/spider-contacts/wd_captcha.php
- > /wp-content/plugins/spider-contacts/window.php
- > /wp-content/plugins/spider-contacts/elements/color.php
- 153× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/spider-contacts/wd_captcha.php on line 187
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/spider-contacts/wd_captcha.php on line 187
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/spider-contacts/wd_captcha.php on line 187
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/spider-contacts/wd_captcha.php on line 187
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/spider-contacts/wd_captcha.php on line 187
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/spider-contacts/wd_captcha.php on line 187
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/spider-contacts/wd_captcha.php on line 187
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/spider-contacts/wd_captcha.php on line 187
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/spider-contacts/wd_captcha.php on line 187
- > PHP Notice
A non well formed numeric value encountered in wp-content/plugins/spider-contacts/wd_captcha.php on line 187
- > PHP Notice
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 96% from 29 tests
readme.txt Passed 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
There were no plugin tags found
spider-contacts/contacts.php 92% from 13 tests
The primary PHP file in "SpiderContacts" version 1.1.7 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("spider-contacts.php" instead of "contacts.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
Success! There were no dangerous files found in this plugin12,102 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 3,235 | 224 | 6,462 |
PO File | 46 | 1,519 | 2,254 | 3,725 |
JavaScript | 8 | 264 | 182 | 1,581 |
CSS | 2 | 83 | 5 | 320 |
HTML | 3 | 3 | 0 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 76 | |
▷ Named functions | 76 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
24 PNG files occupy 0.23MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Spider_contactLogo.png | 3.43KB | 1.03KB | ▼ 69.99% |
spiderBox/close.png | 3.17KB | 2.20KB | ▼ 30.73% |
elements/jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |
images/Spider_ContactLogoHover.png | 3.81KB | 1.40KB | ▼ 63.36% |
Front_images/star4.png | 5.19KB | 1.71KB | ▼ 67.06% |