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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.90ms] Passed 4 tests
This is a short check of server-side resources used by Infinity Testimonials
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.04 | 43.79 ▲2.01 |
Dashboard /wp-admin | 3.38 ▼0.00 | 47.41 ▼24.32 |
Posts /wp-admin/edit.php | 3.43 ▲0.04 | 53.63 ▲5.82 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.04 | 92.59 ▼10.11 |
Media Library /wp-admin/upload.php | 3.30 ▲0.04 | 35.27 ▲0.82 |
Add New /wp-admin/post-new.php?post_type=ifs-testimonial | 3.42 | 52.40 |
Tesimonialss /wp-admin/edit.php?post_type=ifs-testimonial | 3.34 | 35.56 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Infinity Testimonials: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲111 | 13.34 ▼1.03 | 1.97 ▲0.16 | 44.14 ▲2.13 |
Dashboard /wp-admin | 2,233 ▲48 | 4.90 ▼0.98 | 109.41 ▼1.72 | 41.99 ▼4.10 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.04 ▲0.02 | 40.06 ▲3.69 | 34.73 ▲0.92 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 17.46 ▼5.61 | 628.28 ▼4.92 | 57.43 ▲4.46 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.19 ▲0.01 | 97.91 ▼4.13 | 44.72 ▲3.59 |
Add New /wp-admin/post-new.php?post_type=ifs-testimonial | 2,176 | 7.61 | 164.56 | 61.19 |
Tesimonialss /wp-admin/edit.php?post_type=ifs-testimonial | 1,080 | 1.93 | 31.20 | 27.71 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/infinity-testimonilas/main-hook.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/infinity-testimonilas/ifs-testi-type.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Donate link: Invalid URI found ("")
- Contributors: The plugin contributors field is missing
- Screenshots: Add descriptions for screenshots #1, #2, #3 in infinity-testimonilas/assets to your readme.txt
infinity-testimonilas/main-hook.php 92% from 13 tests
The principal PHP file in "Infinity Testimonials" v. 1.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("infinity-testimonilas.php" instead of "main-hook.php")
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
There were no executable files found in this plugin178 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 27 | 15 | 120 |
CSS | 1 | 2 | 0 | 58 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bannar-772x250.png | 41.23KB | 16.38KB | ▼ 60.28% |
screenshot-1.png | 41.23KB | 16.38KB | ▼ 60.28% |