Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.52ms] Passed 4 tests
Analyzing server-side resources used by Matrimony
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 43.24 ▲3.82 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.44 ▼1.77 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 48.59 ▼0.30 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 94.73 ▼11.81 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.16 ▲4.20 |
Shortcodes List /wp-admin/admin.php?page=mwa_matri_plug_info | 3.34 | 34.69 |
Profile List /wp-admin/admin.php?page=mwa_matri_plug | 3.35 | 35.03 |
CSS Settings /wp-admin/admin.php?page=mwa_matri_plug_css | 3.35 | 35.76 |
Profile slider Settings /wp-admin/admin.php?page=mwa_matri_plug_slider | 3.34 | 33.36 |
Update Member /wp-admin/admin.php?page=mwa_matri_update | 3.48 | 34.25 |
Server storage [IO: ▲6.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 106 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_height |
wp_matri_bio |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
profile_gender |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Matrimony
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.26 ▼1.50 | 1.72 ▲0.02 | 44.20 ▼3.27 |
Dashboard /wp-admin | 2,242 ▲57 | 5.88 ▲0.97 | 98.65 ▼3.03 | 79.07 ▲36.46 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.01 ▼0.00 | 38.17 ▼2.44 | 33.97 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,558 ▲39 | 18.03 ▼5.08 | 750.04 ▲81.70 | 84.36 ▲36.54 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.21 ▼0.09 | 113.09 ▲12.38 | 46.08 ▲0.77 |
Shortcodes List /wp-admin/admin.php?page=mwa_matri_plug_info | 1,057 | 3.51 | 62.28 | 97.61 |
Profile List /wp-admin/admin.php?page=mwa_matri_plug | 1,228 | 4.09 | 78.30 | 70.08 |
CSS Settings /wp-admin/admin.php?page=mwa_matri_plug_css | 1,658 | 4.71 | 74.45 | 85.53 |
Profile slider Settings /wp-admin/admin.php?page=mwa_matri_plug_slider | 1,082 | 3.47 | 43.38 | 67.29 |
Update Member /wp-admin/admin.php?page=mwa_matri_update | 2,332 | 3.42 | 46.10 | 68.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_height
- wp_matri_bio
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- profile_gender
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+76
Undefined variable: profile_id
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+80
Undefined variable: candidate_name
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+84
Undefined variable: dob
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+88
Undefined variable: bp
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+102
Undefined variable: gender
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+115
Undefined variable: manglik
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+121
Undefined variable: gotra
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+126
Undefined variable: maternal_gotra
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+135
Undefined variable: father_name
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+139
Undefined variable: father_mno
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+143
Undefined variable: father_occupation
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+147
Undefined variable: father_annual_income
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+151
Undefined variable: mother_name
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+155
Undefined variable: mother_occupation
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+159
Undefined variable: grand_father
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+165
Undefined variable: native_place
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+169
Undefined variable: nationality
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+180
Undefined variable: status_of_family
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+192
Undefined variable: address
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+196
Undefined variable: country
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+239
Undefined variable: state
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+245
Undefined variable: district
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+249
Undefined variable: pincode
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+253
Undefined variable: phone
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+257
Undefined variable: contactno
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+261
Undefined variable: email
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+288
Undefined variable: height
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+302
Undefined variable: body_type
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+318
Undefined variable: skin_type
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+336
Undefined variable: blood_group
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+360
Undefined variable: education
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+364
Undefined variable: hobby
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+368
Undefined variable: candidate_occupation
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+372
Undefined variable: designation
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+376
Undefined variable: annual_income
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+380
Undefined variable: company_name
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+384
Undefined variable: company_city
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+393
Undefined variable: ub_no
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+397
Undefined variable: us_no
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+401
Undefined variable: mb_no
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+405
Undefined variable: ms_no
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+414
Undefined variable: relation
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+418
Undefined variable: rel_name
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+422
Undefined variable: rel_mno
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+426
Undefined variable: rel_city
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+430
Undefined variable: rel_company
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+434
Undefined variable: rel_designation
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+438
Undefined variable: rel_comp_add
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+453
Undefined variable: mwa_kundali_milan
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+459
Undefined variable: mwa_extra_info
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Notice in wp-content/plugins/matrimony/admin/inc/profile_edit.php+469
Undefined variable: profile_image_url
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 shallow check for browser errors
These are user-side errors you should fix
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mwa_matri_update
- > Network (severe)
wp-content/plugins/matrimony//admin/assets/img/matrimony-logo.PNG - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
matrimony/matrimony.php Passed 13 tests
Analyzing the main PHP file in "Matrimony" version 1.0
98 characters long description:
Matrimony, is a Matrimonial plugin which converts your WordPress website to a Matrimonial Website.
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 plugin28,862 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 17 | 1,550 | 119 | 13,703 |
JavaScript | 21 | 2,788 | 2,006 | 11,509 |
PHP | 27 | 137 | 68 | 2,944 |
PO File | 2 | 336 | 430 | 706 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 8.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 29 | |
▷ Static methods | 25 | 86.21% |
▷ Public methods | 26 | 89.66% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 10.34% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
9 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/images/prev.png | 1.33KB | 1.59KB | 0.00% |
admin/assets/css/DataTables-1.10.23/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
admin/assets/css/DataTables-1.10.23/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
admin/assets/css/DataTables-1.10.23/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
admin/assets/img/matrimony-logo.png | 1.03KB | 0.95KB | ▼ 7.93% |