Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼11.00ms] Passed 4 tests
An overview of server-side resources used by Exporter vos comptes en fiche contact vCard
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.84 ▼9.07 |
Dashboard /wp-admin | 3.41 ▲0.10 | 50.96 ▲1.86 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 50.24 ▼5.61 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 86.13 ▼31.16 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.34 ▲2.01 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 125 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Exporter vos comptes en fiche contact vCard
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 14.84 ▲0.55 | 1.82 ▲0.10 | 38.91 ▼1.36 |
Dashboard /wp-admin | 2,219 ▲28 | 4.95 ▲0.02 | 104.05 ▲1.21 | 36.34 ▼6.77 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.06 ▲0.03 | 38.03 ▼6.00 | 31.48 ▼9.16 |
Add New Post /wp-admin/post-new.php | 1,523 ▼12 | 23.45 ▲0.15 | 604.94 ▼72.65 | 56.30 ▲1.12 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.21 ▼0.01 | 96.55 ▼9.54 | 43.47 ▼0.04 |
Exporter les comptes (vCard) /wp-admin/tools.php?page=Exporter les comptes | 1,113 | 1.98 | 33.56 | 48.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 73× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'JeroenDesloovere\\VCard\\Property\\Value\\ImageValue' not found in wp-content/plugins/export-your-user-accounts-to-vcard-format/vendor/jeroendesloovere/vcard/src/Property/Logo.php:13
- > PHP Fatal error
Uncaught Error: Interface 'JeroenDesloovere\\VCard\\Property\odeInterface' not found in wp-content/plugins/export-your-user-accounts-to-vcard-format/vendor/jeroendesloovere/vcard/src/Property/SimpleNodeInterface.php:7
- > PHP Fatal error
Uncaught Error: Class 'JeroenDesloovere\\VCard\\Formatter\\Property\odeFormatter' not found in wp-content/plugins/export-your-user-accounts-to-vcard-format/vendor/jeroendesloovere/vcard/src/Formatter/Property/SimpleNodeFormatter.php:9
- > PHP Fatal error
Uncaught Error: Interface 'JeroenDesloovere\\VCard\\Property\\Parameter\\PropertyParameterInterface' not found in wp-content/plugins/export-your-user-accounts-to-vcard-format/vendor/jeroendesloovere/vcard/src/Property/Parameter/Value.php:14
- > PHP Fatal error
Uncaught Error: Interface 'JeroenDesloovere\\VCard\\Property\\PropertyInterface' not found in wp-content/plugins/export-your-user-accounts-to-vcard-format/vendor/jeroendesloovere/vcard/src/Property/Email.php:14
- > PHP Fatal error
Uncaught Error: Class 'JeroenDesloovere\\VCard\\Property\\Value\\StringValue' not found in wp-content/plugins/export-your-user-accounts-to-vcard-format/vendor/jeroendesloovere/vcard/src/Property/Nickname.php:13
- > PHP Fatal error
Uncaught Error: Class 'JeroenDesloovere\\VCard\\Property\\Value\\StringValue' not found in wp-content/plugins/export-your-user-accounts-to-vcard-format/vendor/jeroendesloovere/vcard/src/Property/Note.php:13
- > PHP Fatal error
Uncaught Error: Class 'JeroenDesloovere\\VCard\\Parser\\Property\\PropertyParser' not found in wp-content/plugins/export-your-user-accounts-to-vcard-format/vendor/jeroendesloovere/vcard/src/Parser/Property/GenderParser.php:10
- > PHP Fatal error
Uncaught Error: Class 'JeroenDesloovere\\VCard\\Formatter\\Property\odeFormatter' not found in wp-content/plugins/export-your-user-accounts-to-vcard-format/vendor/jeroendesloovere/vcard/src/Formatter/Property/NameFormatter.php:9
- > PHP Fatal error
Uncaught Error: Class 'JeroenDesloovere\\VCard\\Exception\\VCardException' not found in wp-content/plugins/export-your-user-accounts-to-vcard-format/vendor/jeroendesloovere/vcard/src/Exception/PropertyException.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: contact, vcard, users, export
export-your-user-accounts-to-vcard-format/vb_vcard.php 69% from 13 tests
The entry point to "Exporter vos comptes en fiche contact vCard" version 1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("export-your-user-accounts-to-vcard-format.php" instead of "vb_vcard.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path folder does not exist ("/languages/")
- Description: Keep the plugin description shorter than 140 characters (currently 143 characters long)
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
Good job! No executable or dangerous file extensions detected3,995 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 102 | 982 | 775 | 3,504 |
Markdown | 2 | 55 | 0 | 174 |
CSS | 2 | 31 | 12 | 159 |
JSON | 2 | 0 | 0 | 90 |
SVG | 1 | 1 | 0 | 31 |
YAML | 1 | 7 | 0 | 18 |
XML | 1 | 0 | 0 | 16 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 3.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 8 | |
Traits | 0 | |
Classes | 88 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 88 | 100.00% |
▷ Final classes | 74 | 84.09% |
Methods | 376 | |
▷ Static methods | 97 | 25.80% |
▷ Public methods | 342 | 90.96% |
▷ Protected methods | 4 | 1.06% |
▷ Private methods | 30 | 7.98% |
Functions | 8 | |
▷ Named functions | 1 | 12.50% |
▷ Anonymous functions | 7 | 87.50% |
Constants | 41 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 41 | 100.00% |
▷ Public constants | 10 | 24.39% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin