Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼0.22ms] Passed 4 tests
Server-side resources used by Arconix Testimonials
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.83 ▼3.47 |
Dashboard /wp-admin | 3.49 ▲0.19 | 118.27 ▲63.09 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 47.45 ▼0.75 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 93.91 ▲1.25 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.18 ▲2.10 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3.90 | 50.53 |
Testimonials /wp-admin/edit.php?post_type=testimonials | 3.43 | 35.65 |
Server storage [IO: ▲3.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 388 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_arconix-testimonials |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Arconix Testimonials
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲171 | 14.84 ▲0.45 | 1.70 ▼0.10 | 42.94 ▼6.68 |
Dashboard /wp-admin | 2,295 ▲107 | 5.93 ▲1.01 | 105.05 ▼11.63 | 84.11 ▲37.68 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.22 ▲0.19 | 40.84 ▲6.64 | 36.89 ▲3.05 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 18.06 ▲0.61 | 602.74 ▼99.42 | 54.10 ▼7.51 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.27 ▲0.03 | 98.35 ▼2.22 | 43.04 ▼1.84 |
Add New /wp-admin/post-new.php?post_type=testimonials | 2,321 | 7.66 | 173.83 | 68.30 |
Testimonials /wp-admin/edit.php?post_type=testimonials | 1,117 | 2.04 | 34.34 | 28.09 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_arconix-testimonials
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 41× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/arconix-testimonials/includes/metabox/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/arconix-testimonials/includes/metabox/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/arconix-testimonials/includes/metabox/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/arconix-testimonials/includes/metabox/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/arconix-testimonials/includes/metabox/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/arconix-testimonials/includes/metabox/includes/types/CMB2_Type_Counter_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_hookup' not found in wp-content/plugins/arconix-testimonials/includes/metabox/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/arconix-testimonials/includes/metabox/includes/types/CMB2_Type_Text_Datetime_Timestamp.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/arconix-testimonials/includes/metabox/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/arconix-testimonials/plugin.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: quotes, feedback, testimonials, arconix
arconix-testimonials/plugin.php 92% from 13 tests
"Arconix Testimonials" version 1.4.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("arconix-testimonials.php" instead of "plugin.php")
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
Success! There were no dangerous files found in this plugin56,382 lines of code in 236 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 68 | 2,623 | 7,398 | 8,962 |
CSS | 16 | 325 | 1,217 | 5,150 |
JSON | 2 | 0 | 0 | 4,252 |
JavaScript | 11 | 667 | 964 | 3,635 |
Sass | 17 | 305 | 25 | 1,408 |
Markdown | 2 | 217 | 0 | 652 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 20.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 79 | |
▷ Abstract classes | 9 | 11.39% |
▷ Concrete classes | 70 | 88.61% |
▷ Final classes | 0 | 0.00% |
Methods | 681 | |
▷ Static methods | 101 | 14.83% |
▷ Public methods | 581 | 85.32% |
▷ Protected methods | 97 | 14.24% |
▷ Private methods | 3 | 0.44% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 8 | 57.14% |
▷ Class constants | 6 | 42.86% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
20 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/metabox/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
includes/metabox/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/metabox/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/css/images/page-16x16.png | 0.33KB | 0.46KB | 0.00% |
includes/metabox/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |