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.02MB] [CPU: ▼2.79ms] Passed 4 tests
An overview of server-side resources used by Get Telephone Contacts of Prospective Customers
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.69 ▼6.18 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.59 ▼1.69 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.57 ▲3.70 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.45 ▼1.97 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.75 ▼1.33 |
Settings /wp-admin/admin.php?page=my_contacts | 3.73 | 471.89 |
Server storage [IO: ▲4.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Get Telephone Contacts of Prospective Customers
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲202 | 55.15 ▲40.91 | 323.16 ▲321.24 | 86.41 ▲34.82 |
Dashboard /wp-admin | 2,215 ▲30 | 5.88 ▲0.99 | 103.60 ▼11.97 | 40.76 ▼1.37 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.00 ▼0.01 | 33.94 ▼2.47 | 34.09 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,524 ▼10 | 17.60 ▼5.45 | 610.04 ▼76.84 | 51.86 ▼3.87 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.18 ▼0.03 | 94.30 ▼4.60 | 41.55 ▼3.63 |
Settings /wp-admin/admin.php?page=my_contacts | 832 | 19.98 | 405.58 | 121.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=my_contacts
- > Notice in wp-content/plugins/business-contacts-authentic-verifiable-business-leads/includes/mycontacts.php+12
Trying to get property 'status' of non-object
- > GET request to /wp-admin/admin.php?page=my_contacts
- > Notice in wp-content/plugins/business-contacts-authentic-verifiable-business-leads/includes/mycontacts.php+13
Trying to get property 'acctid' of non-object
- > GET request to /wp-admin/admin.php?page=my_contacts
- > Notice in wp-content/plugins/business-contacts-authentic-verifiable-business-leads/includes/mycontacts.php+14
Trying to get property 'message' of non-object
- > GET request to /wp-admin/admin.php?page=my_contacts
- > Notice in wp-content/plugins/business-contacts-authentic-verifiable-business-leads/includes/mycontacts.php+15
Trying to get property 'name' of non-object
- > GET request to /wp-admin/admin.php?page=my_contacts
- > Notice in wp-content/plugins/business-contacts-authentic-verifiable-business-leads/includes/mycontacts.php+16
Trying to get property 'your_list' of non-object
- > GET request to /wp-admin/admin.php?page=my_contacts
- > Notice in wp-content/plugins/business-contacts-authentic-verifiable-business-leads/includes/mycontacts.php+17
Trying to get property 'get_all_country' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/business-contacts-authentic-verifiable-business-leads/includes/dashboard.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/business-contacts-authentic-verifiable-business-leads/includes/mycontacts.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% 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
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #6, #7, #8, #9 in business-contacts-authentic-verifiable-business-leads/assets to your readme.txt
business-contacts-authentic-verifiable-business-leads/business_contacts.php 85% from 13 tests
This is the main PHP file of "Get Telephone Contacts of Prospective Customers" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("business-contacts-authentic-verifiable-business-leads.php" instead of "business_contacts.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected19,926 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 660 | 215 | 19,075 |
JavaScript | 13 | 22 | 77 | 580 |
PHP | 3 | 74 | 29 | 271 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.31MB with 0.24MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 32.46KB | 1.65KB | ▼ 94.93% |
images/home1.png | 204.95KB | 49.69KB | ▼ 75.75% |
images/name.png | 46.60KB | 13.99KB | ▼ 69.98% |
images/name2.png | 35.82KB | 10.82KB | ▼ 69.80% |