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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.05ms] Passed 4 tests
An overview of server-side resources used by WP Our Team
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.66 ▲1.96 |
Dashboard /wp-admin | 3.34 ▼0.01 | 47.70 ▼8.71 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.03 ▼2.83 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.09 ▼16.24 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.49 ▼0.41 |
Add Member /wp-admin/post-new.php?post_type=team | 3.31 | 43.58 |
Team /wp-admin/edit.php?post_type=team | 3.30 | 35.62 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Our Team
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲157 | 13.51 ▼0.78 | 9.20 ▲7.28 | 42.30 ▲2.58 |
Dashboard /wp-admin | 2,218 ▲38 | 5.61 ▼0.05 | 89.70 ▲4.90 | 79.99 ▲38.97 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.00 ▲0.04 | 35.15 ▼1.80 | 31.39 ▼4.93 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.51 ▼0.17 | 730.35 ▲26.74 | 55.79 ▲2.89 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.23 ▲0.04 | 94.14 ▼7.13 | 73.88 ▲27.54 |
Add Member /wp-admin/post-new.php?post_type=team | 1,749 | 3.54 | 60.77 | 87.59 |
Team /wp-admin/edit.php?post_type=team | 1,103 | 2.05 | 30.85 | 30.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-our-team/WPOurteam.php:54
- > 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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: responsive team, our, member, team, social...
wp-our-team/WPOurteam.php 85% from 13 tests
The entry point to "WP Our Team" version 1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-our-team.php" instead of "WPOurteam.php")
- Description: The description should be shorter than 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin3,144 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 1 | 15 | 2,182 |
SVG | 1 | 0 | 0 | 655 |
PHP | 1 | 98 | 37 | 274 |
JavaScript | 2 | 3 | 0 | 33 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 15 | |
▷ Static methods | 3 | 20.00% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 1 | 6.67% |
▷ Private methods | 1 | 6.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/icon-team.png | 3.84KB | 1.27KB | ▼ 66.87% |
assets/images/icon-team.png | 3.84KB | 1.27KB | ▼ 66.87% |
assets/images/profile-pic.png | 5.36KB | 2.89KB | ▼ 46.13% |