Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.68ms] Passed 4 tests
An overview of server-side resources used by Team Member
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.88 ▼0.69 |
Dashboard /wp-admin | 3.35 ▲0.05 | 49.05 ▼5.32 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 49.53 ▼4.13 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.93 ▼16.56 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.33 ▼0.01 |
C4D Team Member /wp-admin/edit.php?post_type=c4d-team-member | 3.32 | 38.37 |
Add New /wp-admin/post-new.php?post_type=c4d-team-member | 3.39 | 52.13 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Team Member
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲125 | 13.46 ▼0.91 | 8.52 ▲6.52 | 45.87 ▲0.49 |
Dashboard /wp-admin | 2,222 ▲45 | 5.56 ▼0.02 | 86.96 ▼14.03 | 39.17 ▼7.69 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 1.98 ▼0.01 | 34.04 ▼2.74 | 36.05 ▼3.02 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.10 ▼0.50 | 618.55 ▼70.86 | 53.55 ▼7.17 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.24 ▲0.11 | 100.84 ▼21.75 | 43.09 ▼4.84 |
C4D Team Member /wp-admin/edit.php?post_type=c4d-team-member | 1,097 | 1.96 | 34.37 | 28.75 |
Add New /wp-admin/post-new.php?post_type=c4d-team-member | 2,267 | 7.51 | 182.15 | 63.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/c4d-team-member/templates/default.php:13
- > PHP Notice
Undefined variable: params in wp-content/plugins/c4d-team-member/templates/default.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/c4d-team-member/c4d-team-member.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: There are too many tags (13 tag instead of maximum 10)
c4d-team-member/c4d-team-member.php Passed 13 tests
The main PHP file in "Team Member" ver. 2.0.0 adds more information about the plugin and also serves as the entry point for this plugin
43 characters long description:
Manager Team Member and create slider/ grid
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,914 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 214 | 22 | 1,324 |
CSS | 4 | 18 | 28 | 268 |
PHP | 2 | 20 | 15 | 215 |
Sass | 1 | 1 | 0 | 84 |
JSON | 1 | 0 | 0 | 23 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/owl-carousel/grabbing.png | 0.11KB | 0.14KB | 0.00% |