Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼0.01ms] Passed 4 tests
Server-side resources used by Member Directory
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.32 ▼0.12 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.29 ▲6.15 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.41 ▼1.90 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.94 ▼0.52 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.71 ▲2.50 |
User Roles /wp-admin/admin.php?page=memberdirectoryrolesetting_free | 3.20 | 33.72 |
Member Directory Setttings /wp-admin/admin.php?page=glossarysettingsfree | 3.29 | 35.10 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Member Directory: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲124 | 13.59 ▼0.91 | 5.95 ▲4.15 | 39.68 ▼0.66 |
Dashboard /wp-admin | 2,233 ▲27 | 4.84 ▼0.94 | 95.60 ▼0.19 | 40.19 ▲2.06 |
Posts /wp-admin/edit.php | 2,113 ▲21 | 2.02 ▲0.01 | 40.35 ▲1.37 | 35.29 ▲0.30 |
Add New Post /wp-admin/post-new.php | 1,555 ▲13 | 23.32 ▲5.01 | 642.91 ▼15.02 | 57.22 ▼7.24 |
Media Library /wp-admin/upload.php | 1,418 ▲36 | 4.17 ▼0.06 | 108.39 ▲8.44 | 46.18 ▲0.13 |
User Roles /wp-admin/admin.php?page=memberdirectoryrolesetting_free | 853 | 2.03 | 27.85 | 26.37 |
Member Directory Setttings /wp-admin/admin.php?page=glossarysettingsfree | 913 | 2.06 | 25.08 | 24.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
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)
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/member-directory/admin/glossaryglobalsettings.php
- > /wp-content/plugins/member-directory/rules/useroles.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: name directory, user directory, member directory, directory
member-directory/member-directory.php Passed 13 tests
The principal PHP file in "Member Directory" v. 2.0.1 is loaded by WordPress automatically on each request
91 characters long description:
Member Directory,list all members on your site to help users contact each other more easier
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 plugin1,059 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 146 | 77 | 664 |
JavaScript | 1 | 27 | 14 | 235 |
CSS | 2 | 41 | 20 | 160 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin