Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▼4.09ms] Passed 4 tests
An overview of server-side resources used by JWD Teams
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 39.41 ▲0.47 |
Dashboard /wp-admin | 3.65 ▲0.35 | 47.67 ▼2.40 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 49.22 ▲0.31 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.36 | 91.52 ▼14.74 |
Media Library /wp-admin/upload.php | 3.57 ▲0.35 | 37.69 ▲5.13 |
All Teams /wp-admin/edit.php?post_type=jwd_team | 3.71 | 41.45 |
Add New Team /wp-admin/post-new.php?post_type=jwd_team | 3.66 | 51.59 |
Server storage [IO: ▲1.66MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 64 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by JWD Teams
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲118 | 13.66 ▼0.67 | 2.02 ▲0.02 | 38.65 ▼7.33 |
Dashboard /wp-admin | 2,239 ▲51 | 4.84 ▼0.22 | 110.19 ▼5.68 | 40.17 ▼5.55 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.06 ▲0.07 | 38.48 ▼0.61 | 38.17 ▲6.24 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 17.59 ▼5.72 | 680.84 ▲45.64 | 53.88 ▲0.82 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.17 ▼0.15 | 96.87 ▼2.61 | 41.50 ▼2.30 |
All Teams /wp-admin/edit.php?post_type=jwd_team | 1,309 | 3.64 | 58.16 | 29.12 |
Add New Team /wp-admin/post-new.php?post_type=jwd_team | 3,101 | 5.28 | 161.92 | 76.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
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 90% from 29 tests
readme.txt 94% 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
Attributes that need to be fixed:
- Tags: There are too many tags (54 tag instead of maximum 10)
jwd-teams/jwdteams.php 85% from 13 tests
The main PHP file in "JWD Teams" ver. 1.5.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("jwd-teams.php" instead of "jwdteams.php")
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
Success! There were no dangerous files found in this plugin10,940 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 266 | 135 | 5,037 |
SVG | 1 | 0 | 0 | 2,671 |
PO File | 7 | 553 | 581 | 1,204 |
JavaScript | 8 | 0 | 125 | 1,093 |
PHP | 10 | 2 | 797 | 935 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 31.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 5.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 44 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 18.52% |
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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/jordachewd_200x200px.png | 12.38KB | 4.30KB | ▼ 65.25% |