Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.88MB] [CPU: ▼36.87ms] Passed 4 tests
Server-side resources used by FIFO Testimonials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.92 ▼3.08 |
Dashboard /wp-admin | 3.07 ▼0.24 | 25.96 ▼25.42 |
Posts /wp-admin/edit.php | 3.07 ▼0.29 | 24.01 ▼29.18 |
Add New Post /wp-admin/post-new.php | 3.07 ▼2.82 | 23.45 ▼78.87 |
Media Library /wp-admin/upload.php | 3.07 ▼0.16 | 23.08 ▼14.00 |
Settings /wp-admin/edit.php?post_type=testimonial&page=fifolab-settings | 3.07 | 25.84 |
Add Testimonial /wp-admin/post-new.php?post_type=testimonial | 3.07 | 24.74 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 3.07 | 26.19 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by FIFO Testimonials
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲74 | 13.16 ▼1.41 | 1.68 ▼0.29 | 42.91 ▼1.45 |
Dashboard /wp-admin | 2,244 ▲56 | 4.84 ▼1.12 | 102.01 ▼7.64 | 38.69 ▼13.63 |
Posts /wp-admin/edit.php | 2,124 ▲32 | 2.04 ▲0.03 | 33.67 ▼2.45 | 33.21 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,552 ▲33 | 23.02 ▼0.02 | 602.04 ▼69.37 | 35.04 ▼15.86 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.27 ▲0.05 | 97.77 ▼10.20 | 42.45 ▼2.31 |
Settings /wp-admin/edit.php?post_type=testimonial&page=fifolab-settings | 838 | 2.02 | 24.90 | 30.36 |
Add Testimonial /wp-admin/post-new.php?post_type=testimonial | 2,258 | 7.55 | 173.40 | 75.90 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 1,094 | 1.95 | 37.44 | 40.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=testimonial
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Notice in wp-content/plugins/fifo-testimonials/testimonial.php+426
Undefined index: fifolab_meta_box_nonce
SRP 50% 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/fifo-testimonials/testimonial.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=testimonial
- > Network (severe)
wp-content/plugins/fifo-testimonials/i/ae-bg-400t.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (Add the testimonial via editor.), #2 (All of your testimonials are kept in one place for ease of use.), #3 (Add the shortcode [testimonials] to a page to display a full testimonials page with inbuilt pagination.), #4 (The display of testimonials in a wordpress page.), #5 (Add the number of testimonials you wanted to see per page.)
fifo-testimonials/testimonial.php 85% from 13 tests
This is the main PHP file of "FIFO Testimonials" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 151 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("fifo-testimonials.php" instead of "testimonial.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
Everything looks great! No dangerous files found in this plugin432 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 156 | 71 | 325 |
CSS | 2 | 24 | 13 | 107 |
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.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/arrrow_down.png | 1.17KB | 0.39KB | ▼ 66.81% |
img/ico-female-user.png | 2.34KB | 1.52KB | ▼ 34.91% |
img/ico-user.png | 4.18KB | 1.26KB | ▼ 69.73% |
img/users.png | 2.24KB | 1.42KB | ▼ 36.57% |