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.17MB] [CPU: ▼3.93ms] Passed 4 tests
Server-side resources used by IvyCat AJAX Testimonials
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 48.04 ▲5.50 |
Dashboard /wp-admin | 3.47 ▲0.17 | 52.28 ▼2.14 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 50.20 ▼3.20 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 100.11 ▼8.75 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.24 ▼1.63 |
Testimonial Groups /wp-admin/edit-tags.php?taxonomy=testimonial-group&post_type=testimonials | 3.39 | 36.26 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 3.43 | 49.48 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3.52 | 50.73 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_ivycattestimonialswidget |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for IvyCat AJAX Testimonials
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲63 | 13.23 ▼1.33 | 2.15 ▲0.14 | 42.78 ▼4.56 |
Dashboard /wp-admin | 2,234 ▲43 | 5.86 ▲0.82 | 105.99 ▲0.08 | 45.23 ▲2.17 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.04 ▲0.02 | 33.75 ▼2.43 | 35.91 ▲3.57 |
Add New Post /wp-admin/post-new.php | 1,568 ▲49 | 18.17 ▼4.91 | 613.92 ▼81.80 | 58.81 ▲1.27 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.20 ▼0.12 | 98.83 ▼16.24 | 44.04 ▼7.65 |
Testimonial Groups /wp-admin/edit-tags.php?taxonomy=testimonial-group&post_type=testimonials | 1,296 | 2.14 | 31.18 | 29.44 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 1,089 | 1.94 | 32.14 | 33.81 |
Add New /wp-admin/post-new.php?post_type=testimonials | 2,377 | 7.75 | 179.76 | 63.02 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_ivycattestimonialswidget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function the_excerpt() in wp-content/plugins/ivycat-ajax-testimonials/testimonials-loop-template.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/ivycat-ajax-testimonials/lib/IvyCatTestimonialsPosts.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ivycat-ajax-testimonials/lib/IvyCatTestimonialsWidget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ivycat-ajax-testimonials/ivycat-ajax-testimonials.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: ajax, referral, recommendation, testimony, widget...
ivycat-ajax-testimonials/ivycat-ajax-testimonials.php Passed 13 tests
The main PHP script in "IvyCat AJAX Testimonials" version 1.5.1 is automatically included on every request by WordPress
45 characters long description:
Simply add dynamic testimonials to your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin619 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 71 | 65 | 536 |
JavaScript | 1 | 12 | 3 | 83 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 22.67 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 81.82% |
▷ Protected methods | 4 | 18.18% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There are no PNG files in this plugin