Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼145.48ms] Passed 4 tests
Server-side resources used by Divi Team Member
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 37.21 ▲13.60 |
Dashboard /wp-admin | 3.06 ▲0.01 | 46.54 ▼6.97 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 44.13 ▼6.39 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 93.21 ▼578.22 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 51.74 ▲9.66 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Divi Team Member: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.22 ▲0.30 | 10.87 ▼0.18 | 54.51 ▼0.95 |
Dashboard /wp-admin | 2,967 ▲36 | 6.10 ▼0.01 | 143.13 ▼4.92 | 118.65 ▼2.00 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.00 | 65.88 ▲0.65 | 96.50 ▲9.65 |
Add New Post /wp-admin/post-new.php | 1,683 ▲185 | 15.75 ▼3.09 | 420.83 ▲21.69 | 114.23 ▼0.82 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.02 ▲0.00 | 158.01 ▼1.43 | 123.78 ▲1.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'DiviExtension' not found in wp-content/plugins/team-member-divi/includes/TeamMember.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-member-divi/team-member.php:38
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/team-member-divi/includes/modules/TeamMember/TeamMember.php:3
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: divi theme, divi theme member profile, team member, divi, divi team member...
team-member-divi/team-member.php 85% from 13 tests
The primary PHP file in "Divi Team Member" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("team-member-divi.php" instead of "team-member.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin16,585 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 15,459 |
Markdown | 1 | 212 | 0 | 453 |
PHP | 4 | 42 | 58 | 377 |
CSS | 3 | 0 | 3 | 145 |
PO File | 1 | 43 | 49 | 111 |
JSX | 1 | 6 | 2 | 30 |
JavaScript | 5 | 4 | 3 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.11MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner.png | 88.63KB | 25.63KB | ▼ 71.08% |
icon.png | 27.07KB | 10.19KB | ▼ 62.35% |