Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼8.41ms] Passed 4 tests
A check of server-side resources used by Stylish Real Estate Leads
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 35.74 ▼8.68 |
Dashboard /wp-admin | 3.43 ▲0.08 | 50.09 ▼14.89 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 48.76 ▼2.21 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 84.35 ▼7.62 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 33.39 ▼2.46 |
Help /wp-admin/admin.php?page=srel-help | 3.36 | 34.15 |
Calculators & Lead Forms /wp-admin/admin.php?page=srel-view-forms | 3.37 | 38.54 |
Server storage [IO: ▲8.76MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 80 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_df_srel_calculators |
wp_df_srel_leads |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
SREL_MORTGAGE_CALCULATOR_VERSION |
widget_recent-comments |
srel_db_version |
SREL_MORTGAGE_CALCULATOR_INSTALLED |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Stylish Real Estate Leads
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲25 | 14.35 ▼0.02 | 1.65 ▼0.45 | 38.76 ▼4.31 |
Dashboard /wp-admin | 2,217 ▲40 | 5.69 ▲0.16 | 80.38 ▼20.73 | 59.17 ▲13.96 |
Posts /wp-admin/edit.php | 2,128 ▲31 | 1.98 ▼0.02 | 35.12 ▲0.13 | 31.44 ▼8.92 |
Add New Post /wp-admin/post-new.php | 6,215 ▲4,689 | 18.84 ▼4.21 | 938.03 ▲241.03 | 59.03 ▲7.45 |
Media Library /wp-admin/upload.php | 1,422 ▲28 | 4.19 ▼0.13 | 95.10 ▼4.23 | 61.64 ▲15.48 |
Help /wp-admin/admin.php?page=srel-help | 1,274 | 3.72 | 52.09 | 118.23 |
Calculators & Lead Forms /wp-admin/admin.php?page=srel-view-forms | 1,268 | 3.70 | 50.92 | 82.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie tables detected upon uninstall: 2 tables
- wp_df_srel_leads
- wp_df_srel_calculators
- Zombie WordPress options detected upon uninstall: 9 options
- can_compress_scripts
- widget_recent-comments
- SREL_MORTGAGE_CALCULATOR_VERSION
- widget_recent-posts
- db_upgraded
- srel_db_version
- SREL_MORTGAGE_CALCULATOR_INSTALLED
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=srel-view-forms
- > Javascript (severe) in unknown
/wp-content/plugins/stylish-real-estate-leads/backend/src/js/backend.js?ver=4.5.2 50:39 Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
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
4 plugin tags: real estate leads, real estate calculator, mortgage calculator, property rental calculator
stylish-real-estate-leads/stylish-real-estate-leads.php 92% from 13 tests
The principal PHP file in "Stylish Real Estate Leads" v. 1.0.3 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin15,001 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 551 | 15 | 9,594 |
PHP | 20 | 152 | 263 | 2,367 |
CSS | 8 | 260 | 53 | 1,729 |
JavaScript | 7 | 84 | 98 | 1,311 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 13.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 3.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 1 | 7.14% |
Methods | 62 | |
▷ Static methods | 9 | 14.52% |
▷ Public methods | 47 | 75.81% |
▷ Protected methods | 2 | 3.23% |
▷ Private methods | 13 | 20.97% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
21 PNG files occupy 2.62MB with 1.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/tooltip/infographics-realtor-message.png | 138.20KB | 46.54KB | ▼ 66.33% |
assets/images/tooltip/infographics-phone.png | 203.06KB | 72.41KB | ▼ 64.34% |
assets/images/tooltip/infographics-cta-title.png | 158.13KB | 53.65KB | ▼ 66.07% |
assets/images/attachment.png | 0.41KB | 0.50KB | 0.00% |
assets/images/tooltip/infographics-Logo.png | 154.26KB | 62.02KB | ▼ 59.79% |