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 gracefully, with no errors
Server metrics [RAM: ▲0.61MB] [CPU: ▼7.21ms] Passed 4 tests
Analyzing server-side resources used by Membros Details Slide
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 38.65 ▼2.37 |
Dashboard /wp-admin | 4.00 ▲0.66 | 49.64 ▼8.87 |
Posts /wp-admin/edit.php | 4.02 ▲0.67 | 51.27 ▲5.69 |
Add New Post /wp-admin/post-new.php | 6.59 ▲0.71 | 83.15 ▼23.30 |
Media Library /wp-admin/upload.php | 3.92 ▲0.70 | 41.00 ▲7.03 |
All Membros /wp-admin/edit.php?post_type=jr_employee_details | 3.97 | 39.59 |
Add New /wp-admin/post-new.php?post_type=jr_employee_details | 4.41 | 55.39 |
Departments /wp-admin/edit-tags.php?taxonomy=employee-department&post_type=jr_employee_details | 3.92 | 39.77 |
Server storage [IO: ▲3.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 377 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Membros Details Slide: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲211 | 13.81 ▼0.19 | 5.97 ▲4.09 | 43.36 ▲1.92 |
Dashboard /wp-admin | 2,248 ▲60 | 4.93 ▼0.97 | 109.31 ▼8.45 | 41.51 ▼4.87 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 2.07 ▲0.10 | 41.61 ▲3.94 | 35.48 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 23.67 ▲5.29 | 652.63 ▲52.59 | 60.14 ▲11.24 |
Media Library /wp-admin/upload.php | 1,424 ▲39 | 4.26 ▲0.02 | 97.23 ▼6.24 | 40.77 ▼4.86 |
All Membros /wp-admin/edit.php?post_type=jr_employee_details | 1,109 | 2.01 | 33.25 | 30.77 |
Add New /wp-admin/post-new.php?post_type=jr_employee_details | 2,371 | 7.41 | 158.89 | 75.78 |
Departments /wp-admin/edit-tags.php?taxonomy=employee-department&post_type=jr_employee_details | 1,302 | 2.22 | 27.84 | 27.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/employees-details-slides/init.php
- 40× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/employees-details-slides/metabox/includes/types/CMB2_Type_Title.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/employees-details-slides/metabox/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/employees-details-slides/metabox/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/employees-details-slides/metabox/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/employees-details-slides/metabox/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/employees-details-slides/metabox/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/employees-details-slides/metabox/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/employees-details-slides/metabox/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/employees-details-slides/metabox/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function cmb2_dir() in wp-content/plugins/employees-details-slides/metabox/includes/rest-api/CMB2_REST_Controller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% 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
5 plugin tags: employee display, members, employee management, employee slider, employees details slides
employees-details-slides/init.php 62% from 13 tests
The main file in "Membros Details Slide" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "5.2")
- Requires PHP: Required version must match the one declared in readme.txt ("7.0" instead of "7.2")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("employees-details-slides.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin54,784 lines of code in 226 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 59 | 2,219 | 6,362 | 7,470 |
JSON | 4 | 0 | 0 | 6,633 |
CSS | 14 | 276 | 1,192 | 4,714 |
JavaScript | 9 | 362 | 590 | 1,476 |
Sass | 17 | 306 | 29 | 1,411 |
Markdown | 3 | 245 | 0 | 757 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 19.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 69 | |
▷ Abstract classes | 9 | 13.04% |
▷ Concrete classes | 60 | 86.96% |
▷ Final classes | 0 | 0.00% |
Methods | 547 | |
▷ Static methods | 91 | 16.64% |
▷ Public methods | 455 | 83.18% |
▷ Protected methods | 89 | 16.27% |
▷ Private methods | 3 | 0.55% |
Functions | 35 | |
▷ Named functions | 35 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
metabox/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
metabox/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
metabox/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
metabox/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
metabox/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |