Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.65ms] Passed 4 tests
This is a short check of server-side resources used by Custom Contact Details With WP List
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.63 ▼2.01 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.18 ▼15.92 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.14 ▼1.08 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.82 ▼7.57 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.05 ▲1.78 |
Details /wp-admin/admin.php?page=details | 3.25 | 32.68 |
Add new /wp-admin/admin.php?page=details_form | 3.25 | 31.59 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wsc |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
wpsc_db_version |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Custom Contact Details With WP List: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.35 ▲0.00 | 1.70 ▲0.10 | 42.67 ▼0.21 |
Dashboard /wp-admin | 2,222 ▲41 | 5.53 ▼0.17 | 82.43 ▼21.42 | 37.59 ▼2.46 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.01 ▼0.00 | 34.30 ▼3.64 | 30.74 ▼3.60 |
Add New Post /wp-admin/post-new.php | 1,553 ▲25 | 23.03 ▲0.08 | 594.00 ▼51.01 | 72.33 ▲14.10 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.17 ▼0.00 | 99.78 ▲2.81 | 43.61 ▼0.31 |
Details /wp-admin/admin.php?page=details | 980 | 2.00 | 25.43 | 27.89 |
Add new /wp-admin/admin.php?page=details_form | 882 | 2.00 | 27.17 | 28.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_wsc
- The uninstall procedure has failed, leaving 7 options in the database
- wpsc_db_version
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
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)
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/custom-contact-details-with-wp-list/custom-contact-details-with-wplist.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
7 plugin tags: crud, table, details list, database, wp list...
custom-contact-details-with-wp-list/custom-contact-details-with-wplist.php 85% from 13 tests
"Custom Contact Details With WP List" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: Name the main plugin file the same as the plugin slug ("custom-contact-details-with-wp-list.php" instead of "custom-contact-details-with-wplist.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected279 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 55 | 10 | 279 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
There were not PNG files found in your plugin