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.16MB] [CPU: ▼9.32ms] Passed 4 tests
Analyzing server-side resources used by Team Member Block
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 41.68 ▲2.50 |
Dashboard /wp-admin | 3.45 ▲0.15 | 43.84 ▼4.38 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 44.23 ▼14.40 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 85.64 ▼18.75 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 34.40 ▲0.27 |
Server storage [IO: ▲4.94MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Team Member Block
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.29 ▼1.45 | 1.79 ▲0.04 | 42.05 ▼0.62 |
Dashboard /wp-admin | 2,206 ▲21 | 5.83 ▲0.02 | 98.34 ▼3.47 | 40.43 ▼2.41 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.05 | 34.77 ▼5.46 | 34.98 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,656 ▲137 | 24.93 ▲1.76 | 666.10 ▲23.23 | 36.24 ▼24.33 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.27 ▲0.11 | 97.53 ▼2.94 | 44.05 ▼0.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/team-member-block/team-member-block.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: team member, gutenberg blocks, block, profile, editor...
team-member-block/team-member-block.php Passed 13 tests
The main PHP file in "Team Member Block" ver. 1.1.4 adds more information about the plugin and also serves as the entry point for this plugin
64 characters long description:
Present your team members beautifully & gain instant credibility
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin21,208 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 12 | 11,462 |
CSS | 7 | 4 | 54 | 8,953 |
PHP | 9 | 108 | 165 | 717 |
JavaScript | 4 | 11 | 4 | 65 |
JSON | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 32.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 5.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 33 | |
▷ Static methods | 12 | 36.36% |
▷ Public methods | 29 | 87.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 12.12% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected