Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/responsive-bit-testimonials-manager/responsivebit_testimonials.php+515
Function create_function() is deprecated
Server metrics [RAM: ▼1.81MB] [CPU: ▼66.34ms] Passed 4 tests
A check of server-side resources used by Responsive Bit Announcement Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.19 ▼1.27 | 5.78 ▼45.73 |
Dashboard /wp-admin | 2.21 ▼1.13 | 7.41 ▼58.37 |
Posts /wp-admin/edit.php | 2.21 ▼1.14 | 6.99 ▼49.23 |
Add New Post /wp-admin/post-new.php | 2.21 ▼3.67 | 6.89 ▼112.01 |
Media Library /wp-admin/upload.php | 2.21 ▼1.02 | 5.91 ▼30.76 |
Tesimonials Style /wp-admin/edit.php?post_type=rb-testimonials&page=responsive_bit_testimonials_style | 2.21 | 5.71 |
Add New /wp-admin/post-new.php?post_type=rb-testimonials | 2.21 | 7.11 |
Testimonials /wp-admin/edit.php?post_type=rb-testimonials | 2.21 | 7.38 |
Testimonials usage guide /wp-admin/edit.php?post_type=rb-testimonials&page=responsive_bit_testimonials_guide | 2.21 | 6.68 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_responsivebit_testimonial_widget |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Responsive Bit Announcement Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 14.28 ▲0.01 | 1.92 ▲0.17 | 39.97 ▼3.13 |
Dashboard /wp-admin | 2,270 ▲90 | 5.58 ▲0.01 | 91.08 ▼2.32 | 75.19 ▲35.48 |
Posts /wp-admin/edit.php | 2,143 ▲39 | 2.04 ▲0.09 | 39.49 ▼11.33 | 34.62 ▼15.08 |
Add New Post /wp-admin/post-new.php | 1,631 ▲105 | 21.59 ▼1.45 | 657.89 ▲54.34 | 29.76 ▼23.83 |
Media Library /wp-admin/upload.php | 1,443 ▲40 | 4.19 ▼0.04 | 97.91 ▼1.56 | 42.55 ▼0.19 |
Tesimonials Style /wp-admin/edit.php?post_type=rb-testimonials&page=responsive_bit_testimonials_style | 1,001 | 2.15 | 28.26 | 29.82 |
Add New /wp-admin/post-new.php?post_type=rb-testimonials | 2,304 | 7.68 | 169.03 | 62.92 |
Testimonials /wp-admin/edit.php?post_type=rb-testimonials | 1,124 | 1.97 | 30.63 | 30.09 |
Testimonials usage guide /wp-admin/edit.php?post_type=rb-testimonials&page=responsive_bit_testimonials_guide | 856 | 2.01 | 25.64 | 27.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/responsive-bit-testimonials-manager/responsivebit_testimonials.php+515
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_responsivebit_testimonial_widget
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=rb-testimonials&page=responsive_bit_testimonials_guide
- > Deprecated in wp-content/plugins/responsive-bit-testimonials-manager/responsivebit_testimonials.php+515
Function create_function() is deprecated
- > GET request to /wp-admin/post-new.php?post_type=rb-testimonials
- > Notice in wp-content/plugins/responsive-bit-testimonials-manager/responsivebit_testimonials.php+311
Undefined index: testimonial_meta_noncename
SRP 50% 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-bit-testimonials-manager/responsivebit_testimonials.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=rb-testimonials&page=responsive_bit_testimonials_guide
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'farbtastic')" "TypeError: Cannot read properties of undefined (reading 'farbtastic')\n at $.farbtastic (/wp-admin/js/farbtastic.js?ver=1.2:22:20)\n at $.fn.farbtastic (/wp-admin/js/farbtastic.js?ver=1.2:16:5)\n at HTMLDocument.\u003Canonymous> (/wp-admin/edit.php?post_type=rb-testimonials&page=responsive_bit_testimonials_guide:188:30)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit.php?post_type=rb-testimonials&page=responsive_bit_testimonials_guide
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'farbtastic')
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Showing the add item for Testimonials.), #2 (Showing admin screen for Testimonials.), #3 (Showing the screen for Testimonials color.)
responsive-bit-testimonials-manager/responsivebit_testimonials.php 85% from 13 tests
Analyzing the main PHP file in "Responsive Bit Announcement Manager" version 1.0
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 187 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("responsive-bit-testimonials-manager.php" instead of "responsivebit_testimonials.php")
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
No dangerous file extensions were detected455 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 68 | 36 | 427 |
CSS | 1 | 6 | 0 | 28 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.PNG | 49.75KB | 18.08KB | ▼ 63.65% |
screenshot-3.PNG | 15.46KB | 6.32KB | ▼ 59.11% |
pull-quote.png | 0.50KB | 0.61KB | 0.00% |
menu-icon.png | 6.24KB | 2.66KB | ▼ 57.37% |
screenshot-1.png | 3.88KB | 2.51KB | ▼ 35.36% |