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.11MB] [CPU: ▼9.73ms] Passed 4 tests
Analyzing server-side resources used by OS Our Team
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.19 ▼7.66 |
Dashboard /wp-admin | 3.42 ▲0.11 | 39.30 ▼9.58 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 44.54 ▼1.64 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 79.39 ▼17.77 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 30.12 ▼3.91 |
About /wp-admin/edit.php?post_type=os-our-team&page=about-os-out-team-developer | 3.29 | 30.49 |
Add New /wp-admin/post-new.php?post_type=os-our-team | 3.52 | 46.51 |
Our Team /wp-admin/edit.php?post_type=os-our-team | 3.35 | 34.38 |
Settings /wp-admin/edit.php?post_type=os-our-team&page=os-settings | 3.29 | 30.71 |
Server storage [IO: ▲1.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
OS Our Team: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲138 | 13.24 ▼1.17 | 2.71 ▲0.89 | 36.93 ▼7.56 |
Dashboard /wp-admin | 2,251 ▲66 | 4.89 ▼0.92 | 110.24 ▲10.70 | 39.79 ▼0.35 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.05 ▲0.03 | 36.33 ▼4.94 | 33.73 ▼2.11 |
Add New Post /wp-admin/post-new.php | 1,550 ▲36 | 23.22 ▲5.63 | 671.94 ▲66.47 | 68.73 ▲17.52 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.22 ▼0.04 | 97.91 ▲0.16 | 45.17 ▲4.20 |
About /wp-admin/edit.php?post_type=os-our-team&page=about-os-out-team-developer | 1,010 | 2.04 | 24.69 | 28.14 |
Add New /wp-admin/post-new.php?post_type=os-our-team | 2,421 | 7.60 | 165.84 | 64.97 |
Our Team /wp-admin/edit.php?post_type=os-our-team | 1,119 | 1.96 | 33.41 | 32.57 |
Settings /wp-admin/edit.php?post_type=os-our-team&page=os-settings | 1,185 | 2.08 | 22.51 | 27.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'ourTeamPostType' not found in wp-content/plugins/os-our-team/includes/admin/meta-boxes/views/os-out-team-social.php:2
- > PHP Fatal error
Uncaught Error: Class 'ourTeamPostType' not found in wp-content/plugins/os-our-team/includes/admin/meta-boxes/views/os-out-team-custom.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (OS Our Team admin interface), #2 (OS Our Team Settings page), #3 (OS Our Team - Classic Layout), #4 (OS Our Team - Muse Layout), #5 (OS Our Team - Grid Layout)
os-our-team/os-our-team.php Passed 13 tests
This is the main PHP file of "OS Our Team" version 1.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
58 characters long description:
Display your employees, team members, or any type of list.
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
Good job! No executable or dangerous file extensions detected882 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 200 | 312 | 876 |
CSS | 2 | 0 | 0 | 3 |
JavaScript | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 14.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 41 | |
▷ Static methods | 3 | 7.32% |
▷ Public methods | 39 | 95.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.88% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 1.18MB with 0.57MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 459.38KB | 112.37KB | ▼ 75.54% |
images/delete.png | 0.70KB | 0.56KB | ▼ 19.50% |
images/category.png | 0.48KB | 0.34KB | ▼ 28.63% |
screenshot-2.png | 39.22KB | 14.98KB | ▼ 61.81% |
screenshot-1.png | 42.07KB | 17.65KB | ▼ 58.05% |