Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲2.62MB] [CPU: ▲10.77ms] Passed 4 tests
Analyzing server-side resources used by Rencontre - Dating Site
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.26 ▲1.79 | 46.72 ▲5.61 |
Dashboard /wp-admin | 6.37 ▲3.02 | 62.05 ▲4.37 |
Posts /wp-admin/edit.php | 6.37 ▲3.01 | 70.40 ▲19.91 |
Add New Post /wp-admin/post-new.php | 8.55 ▲2.66 | 106.88 ▲13.19 |
Media Library /wp-admin/upload.php | 6.37 ▲3.14 | 56.95 ▲22.68 |
Server storage [IO: ▲10.55MB] [DB: ▲9.64MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 605 new files
Database: 7 new tables, 10 new options
New tables |
---|
wp_rencontre_msg |
wp_rencontre_liste |
wp_rencontre_prison |
wp_rencontre_dbip |
wp_rencontre_users |
wp_rencontre_users_profil |
wp_rencontre_profil |
New WordPress options |
---|
widget_theysaidso_widget |
rencontre_dbip |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
WPLANG |
widget_recent-posts |
can_compress_scripts |
rencontre_options |
widget_rencontre-sidebar-widget |
Browser metrics Passed 4 tests
A check of browser resources used by Rencontre - Dating Site
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲166 | 13.59 ▼0.76 | 9.93 ▲8.31 | 37.22 ▼3.72 |
Dashboard /wp-admin | 2,229 ▲51 | 5.56 ▼0.19 | 96.20 ▼14.67 | 88.88 ▲49.95 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 1.97 ▼0.05 | 39.17 ▲3.67 | 33.44 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,579 ▲52 | 23.23 ▲0.13 | 753.36 ▲86.19 | 59.35 ▲11.08 |
Media Library /wp-admin/upload.php | 1,452 ▲55 | 4.15 ▼0.07 | 94.74 ▼3.10 | 71.30 ▲29.52 |
Members /wp-admin/rencontre.php?page=rencmembers | 26 | 0.41 | 0.09 | 15.46 |
Profile /wp-admin/rencontre.php?page=rencprofile | 26 | 0.41 | 0.09 | 6.06 |
General /wp-admin/rencontre.php | 26 | 0.41 | 0.11 | 6.42 |
Custom /wp-admin/rencontre.php?page=renccustom | 26 | 0.41 | 0.13 | 6.36 |
Country /wp-admin/rencontre.php?page=renccountry | 26 | 0.41 | 0.07 | 6.70 |
Jail /wp-admin/rencontre.php?page=rencjail | 26 | 0.41 | 0.08 | 6.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲9.64MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 7 tables in the database
- wp_rencontre_profil
- wp_rencontre_users_profil
- wp_rencontre_prison
- wp_rencontre_users
- wp_rencontre_dbip
- wp_rencontre_msg
- wp_rencontre_liste
- Zombie WordPress options detected upon uninstall: 10 options
- rencontre_dbip
- can_compress_scripts
- widget_theysaidso_widget
- WPLANG
- widget_rencontre-sidebar-widget
- theysaidso_admin_options
- widget_recent-posts
- rencontre_options
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/rencontre/templates/rencontre_mini_bloc.php
- > /wp-content/plugins/rencontre/templates/rencontre_warning.php
- > /wp-content/plugins/rencontre/templates/rencontre_custom_page2.php
- > /wp-content/plugins/rencontre/templates/rencontre_lightbox.php
- > /wp-content/plugins/rencontre/templates/rencontre_custom_page1.php
- > /wp-content/plugins/rencontre/templates/rencontre_chat_cam.php
- > /wp-content/plugins/rencontre/inc/upload_csv.php
- > /wp-content/plugins/rencontre/templates/rencontre_libre_portrait.php
- 120× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rencontre/templates/rencontre_mail_regular_global.php:13
- > PHP Notice
Undefined variable: blogName in wp-content/plugins/rencontre/templates/rencontre_mail_birthday.php on line 11
- > PHP Notice
Undefined variable: u in wp-content/plugins/rencontre/templates/rencontre_libre_portrait.php on line 30
- > PHP Notice
Trying to get property 'link' of non-object in wp-content/plugins/rencontre/templates/rencontre_mail_regular.php on line 23
- > PHP Notice
Undefined variable: onClick in wp-content/plugins/rencontre/templates/rencontre_mini_portrait.php on line 45
- > PHP Notice
Undefined variable: blogName in wp-content/plugins/rencontre/templates/rencontre_mail_fastreg_confirm.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function rencTranslate() in wp-content/plugins/rencontre/templates/rencontre_registration_jail.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/rencontre/templates/rencontre_chat.php:15
- > PHP Notice
Trying to get property 'i_photo' of non-object in wp-content/plugins/rencontre/templates/rencontre_portrait_add_photo.php on line 33
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rencontre/templates/rencontre_registration_part1.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/rencontre.php?page=rencmembers
- > Network (severe)
wp-admin/rencontre.php?page=rencmembers - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/rencontre.php?page=rencprofile
- > Network (severe)
wp-admin/rencontre.php?page=rencprofile - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/rencontre.php
- > Network (severe)
wp-admin/rencontre.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/rencontre.php?page=renccustom
- > Network (severe)
wp-admin/rencontre.php?page=renccustom - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/rencontre.php?page=renccountry
- > Network (severe)
wp-admin/rencontre.php?page=renccountry - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/rencontre.php?page=rencjail
- > Network (severe)
wp-admin/rencontre.php?page=rencjail - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (Visitor's home page when not connected - Theme Twenty seventeen (2017).), #2 (Visitor's home page when not connected - Theme Avada.), #3 (A connected member's home page.), #4 (Private messages page.), #5 (Private webcam chat.), #6 (Administration members.), #7 (Administration of available profiles.), #8 (Registration and connection statistics.)
rencontre/rencontre.php 92% from 13 tests
The principal PHP file in "Rencontre - Dating Site" v. 3.11 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 147 characters long)
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin51,834 lines of code in 338 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 261 | 1 | 12 | 22,807 |
PO File | 12 | 6,899 | 9,714 | 15,564 |
PHP | 52 | 627 | 6,713 | 8,634 |
CSS | 5 | 1,377 | 30 | 3,175 |
JavaScript | 8 | 5 | 83 | 1,654 |
PHP code 0% from 2 tests
Analyzing cyclomatic complexity and code structure
Please tend to the following items
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 1,516)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 514)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.68 |
Average class complexity | 673.33 |
▷ Minimum class complexity | 118.00 |
▷ Maximum class complexity | 1,516.00 |
Average method complexity | 34.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 514.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 45 | 75.00% |
▷ Public methods | 60 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 128 | |
▷ Named functions | 123 | 96.09% |
▷ Anonymous functions | 5 | 3.91% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
207 PNG files occupy 0.14MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/drapeaux/Mozambique.png | 0.82KB | 0.67KB | ▼ 18.16% |
images/drapeaux/Libye.png | 0.43KB | 0.26KB | ▼ 39.36% |
images/drapeaux/Finlande.png | 0.67KB | 0.42KB | ▼ 37.00% |
images/drapeaux/Rwanda.png | 0.45KB | 0.33KB | ▼ 28.02% |
images/drapeaux/Egypte.png | 0.52KB | 0.44KB | ▼ 15.28% |