Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.69MB] [CPU: ▲2.27ms] Passed 4 tests
Analyzing server-side resources used by Our Team
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 38.74 ▼3.42 |
Dashboard /wp-admin | 4.10 ▲0.80 | 54.33 ▲6.49 |
Posts /wp-admin/edit.php | 4.12 ▲0.77 | 56.73 ▲9.02 |
Add New Post /wp-admin/post-new.php | 6.71 ▲0.82 | 89.37 ▼3.00 |
Media Library /wp-admin/upload.php | 4.02 ▲0.80 | 38.95 ▲9.49 |
All Teams /wp-admin/edit.php?post_type=otmembers | 4.07 | 40.07 |
Add New Team /wp-admin/post-new.php?post_type=otmembers | 4.63 | 55.90 |
Help & Upgrade /wp-admin/edit.php?post_type=otmembers&page=f4w_our_team_menu_help | 4.00 | 36.27 |
Server storage [IO: ▲3.76MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 388 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Our Team
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲197 | 14.10 ▼0.28 | 5.39 ▲3.70 | 42.05 ▲0.71 |
Dashboard /wp-admin | 2,250 ▲62 | 4.95 ▲0.04 | 110.08 ▲0.36 | 38.62 ▼4.08 |
Posts /wp-admin/edit.php | 2,133 ▲41 | 2.09 ▲0.08 | 41.68 ▲3.80 | 35.79 ▲5.03 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.14 ▼0.25 | 725.50 ▲34.49 | 58.13 ▲6.53 |
Media Library /wp-admin/upload.php | 1,432 ▲41 | 4.28 ▲0.04 | 99.34 ▼0.19 | 41.30 ▼1.66 |
All Teams /wp-admin/edit.php?post_type=otmembers | 1,122 | 1.99 | 32.02 | 28.13 |
Add New Team /wp-admin/post-new.php?post_type=otmembers | 3,205 | 4.56 | 116.44 | 56.89 |
Help & Upgrade /wp-admin/edit.php?post_type=otmembers&page=f4w_our_team_menu_help | 846 | 2.26 | 26.21 | 27.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/f4w-our-team/lib/f4w-our-team-help.php
- 45× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/f4w-our-team/lib/metaboxes/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/f4w-our-team/lib/metaboxes/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/f4w-our-team/lib/metaboxes/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/f4w-our-team/lib/metaboxes/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/f4w-our-team/lib/metaboxes/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/f4w-our-team/lib/metaboxes/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/f4w-our-team/lib/metaboxes/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/f4w-our-team/lib/metaboxes/includes/CMB2_hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/f4w-our-team/lib/metaboxes/includes/types/CMB2_Type_Text_Datetime_Timestamp.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Select' not found in wp-content/plugins/f4w-our-team/lib/metaboxes/includes/types/CMB2_Type_Taxonomy_Select_Hierarchical.php:13
- > 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 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in f4w-our-team/assets to your readme.txt
- Donate link: Invalid URI found ("")
f4w-our-team/f4w-our-team.php Passed 13 tests
The main PHP file in "Our Team" ver. 1.5 adds more information about the plugin and also serves as the entry point for this plugin
130 characters long description:
F4W Our Teams is fully responsive and mobile friendly. This plugin shows team members profile information with social media links.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin51,371 lines of code in 230 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 66 | 2,245 | 6,358 | 7,703 |
CSS | 16 | 343 | 1,203 | 7,137 |
JavaScript | 8 | 372 | 590 | 1,493 |
Sass | 17 | 305 | 29 | 1,407 |
SVG | 1 | 0 | 0 | 655 |
Markdown | 2 | 216 | 0 | 653 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 18.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 9 | 13.24% |
▷ Concrete classes | 59 | 86.76% |
▷ Final classes | 0 | 0.00% |
Methods | 533 | |
▷ Static methods | 86 | 16.14% |
▷ Public methods | 440 | 82.55% |
▷ Protected methods | 90 | 16.89% |
▷ Private methods | 3 | 0.56% |
Functions | 43 | |
▷ Named functions | 43 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/metaboxes/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
lib/metaboxes/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
lib/metaboxes/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
lib/metaboxes/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
lib/metaboxes/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |