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.97MB] [CPU: ▼2.76ms] Passed 4 tests
An overview of server-side resources used by Sold Alerts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.38 ▲0.91 | 50.19 ▲6.61 |
Dashboard /wp-admin | 4.27 ▲0.97 | 59.97 ▲4.31 |
Posts /wp-admin/edit.php | 4.37 ▲1.01 | 55.90 ▲2.71 |
Add New Post /wp-admin/post-new.php | 6.98 ▲1.09 | 87.17 ▼24.66 |
Media Library /wp-admin/upload.php | 4.21 ▲0.98 | 46.86 ▲7.21 |
All Leads /wp-admin/edit.php?post_type=8b_sa_lead | 4.21 | 45.62 |
Export /wp-admin/edit.php?post_type=8b_sa_lead&page=8b_sold_alerts_export_leads | 4.75 | 41.55 |
Settings /wp-admin/edit.php?post_type=8b_sa_lead&page=8b_sold_alerts_settings | 5.16 | 46.22 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 253 new files
Database: no new tables, 33 new options
New WordPress options |
---|
Sold_Alerts_email_sales_text |
Sold_Alerts_email_new_lead_subject |
Sold_Alerts_subscribers_count |
Sold_Alerts_lead_form_first_name_placeholder |
Sold_Alerts_lead_form_submit_button_text |
Sold_Alerts_email_new_lead_recipients |
Sold_Alerts_email_new_lead_text |
Sold_Alerts_lead_form_enter_your_address_placeholder |
Sold_Alerts_lead_form_last_name_required |
Sold_Alerts_lead_form_first_name_required |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Sold Alerts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲174 | 13.83 ▼0.72 | 9.90 ▲8.10 | 42.28 ▼5.94 |
Dashboard /wp-admin | 2,233 ▲53 | 5.66 ▲0.07 | 89.88 ▼12.28 | 41.02 ▼1.33 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.04 ▼0.12 | 42.97 ▲4.50 | 35.56 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.02 ▼0.15 | 711.92 ▼10.07 | 65.13 ▲16.08 |
Media Library /wp-admin/upload.php | 1,438 ▲41 | 4.22 ▲0.03 | 105.47 ▲3.74 | 44.83 ▲0.37 |
All Leads /wp-admin/edit.php?post_type=8b_sa_lead | 1,088 | 1.99 | 35.06 | 30.87 |
Export /wp-admin/edit.php?post_type=8b_sa_lead&page=8b_sold_alerts_export_leads | 830 | 1.70 | 26.63 | 27.70 |
Settings /wp-admin/edit.php?post_type=8b_sa_lead&page=8b_sold_alerts_settings | 1,050 | 1.82 | 25.50 | 31.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 33 options in the database
- Sold_Alerts_lead_form_last_name_placeholder
- Sold_Alerts_email_new_lead_sender_email
- Sold_Alerts_load_css
- Sold_Alerts_google_api_key
- Sold_Alerts_lead_form_first_name_required
- Sold_Alerts_email_sales_sender_name
- Sold_Alerts_thank_you_text
- Sold_Alerts_email_new_lead_text
- Sold_Alerts_email_new_lead_subject
- Sold_Alerts_lead_pool_blog
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 take a closer look at the following
- 134× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Trait 'plainview\\sdk_eightb_sold_alerts\\table\\table_element' not found in wp-content/plugins/sold-alerts/src/sdk/table/section.php on line 10
- > PHP Fatal error
Trait 'plainview\\sdk_eightb_sold_alerts\\traits\\method_chaining' not found in wp-content/plugins/sold-alerts/src/sdk/wordpress/table/top/bulkactions.php on line 15
- > PHP Fatal error
Trait 'plainview\\sdk_eightb_sold_alerts\\html\\element' not found in wp-content/plugins/sold-alerts/src/sdk/form2/inputs/input.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'plainview\\sdk_eightb_sold_alerts\\html\\tests\\TestCase' not found in wp-content/plugins/sold-alerts/src/sdk/html/tests/AttributeTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'plainview\\sdk_eightb_sold_alerts\\wordpress\\actions\\action' not found in wp-content/plugins/sold-alerts/src/sdk/wordpress/plugin_pack/actions/get_plugin_classes.php:9
- > PHP Fatal error
Trait 'plainview\\sdk_eightb_sold_alerts\\html\\element' not found in wp-content/plugins/sold-alerts/src/sdk/form2/inputs/label.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'plainview\\sdk_eightb_sold_alerts\\collections\\collection' not found in wp-content/plugins/sold-alerts/src/sdk/wordpress/plugin_pack/plugins.php:12
- > PHP Fatal error
Uncaught Error: Class 'plainview\\sdk_eightb_sold_alerts\\form2\\inputs\\textarea' not found in wp-content/plugins/sold-alerts/src/sdk/wordpress/form2/inputs/wp_editor.php:9
- > PHP Fatal error
Uncaught Error: Class 'plainview\\sdk_eightb_sold_alerts\\table\\table' not found in wp-content/plugins/sold-alerts/src/sdk/wordpress/table/table.php:22
- > PHP Fatal error
Uncaught Error: Class 'plainview\\sdk_eightb_sold_alerts\\form2\\inputs\\text' not found in wp-content/plugins/sold-alerts/src/sdk/form2/inputs/search.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
4 plugin tags: real estate, home sales, sold email, sold home alerts
sold-alerts/EightB_Sold_Alerts.php 92% from 13 tests
Analyzing the main PHP file in "Sold Alerts" version 1.7
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("sold-alerts.php" instead of "EightB_Sold_Alerts.php")
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 detected11,694 lines of code in 225 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 196 | 2,713 | 6,545 | 10,679 |
JavaScript | 8 | 108 | 132 | 569 |
Markdown | 3 | 43 | 0 | 104 |
PO File | 1 | 40 | 43 | 98 |
JSON | 3 | 0 | 0 | 87 |
Bourne Shell | 5 | 24 | 9 | 78 |
XML | 1 | 0 | 0 | 42 |
HTML | 7 | 0 | 0 | 19 |
CSS | 1 | 6 | 8 | 18 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 37 | |
Interfaces | 0 | |
Traits | 51 | |
Classes | 136 | |
▷ Abstract classes | 3 | 2.21% |
▷ Concrete classes | 133 | 97.79% |
▷ Final classes | 0 | 0.00% |
Methods | 1,072 | |
▷ Static methods | 84 | 7.84% |
▷ Public methods | 1,068 | 99.63% |
▷ Protected methods | 2 | 0.19% |
▷ Private methods | 2 | 0.19% |
Functions | 19 | |
▷ Named functions | 10 | 52.63% |
▷ Anonymous functions | 9 | 47.37% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin