Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.58ms] Passed 4 tests
Server-side resources used by Faltu Testimonial Rotator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.61 ▼5.75 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.92 ▼5.13 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.99 ▼6.34 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.43 ▼9.09 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.04 ▼2.49 |
Testimonial /wp-admin/edit.php?post_type=trotator | 3.31 | 37.47 |
Add New /wp-admin/post-new.php?post_type=trotator | 3.39 | 51.98 |
Testimonial Category /wp-admin/edit-tags.php?taxonomy=testimonial_cat&post_type=trotator | 3.39 | 37.97 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Faltu Testimonial Rotator: 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,960 ▲199 | 13.48 ▼0.87 | 8.08 ▲6.28 | 41.09 ▼3.98 |
Dashboard /wp-admin | 2,240 ▲60 | 5.60 ▼0.07 | 85.84 ▼17.99 | 42.30 ▼10.19 |
Posts /wp-admin/edit.php | 2,142 ▲39 | 2.00 ▼0.04 | 38.06 ▼5.39 | 33.19 ▼5.75 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 18.22 ▼5.16 | 612.09 ▼62.84 | 75.34 ▲4.08 |
Media Library /wp-admin/upload.php | 1,445 ▲42 | 4.36 ▲0.13 | 102.98 ▼5.54 | 46.55 ▼1.94 |
Testimonial /wp-admin/edit.php?post_type=trotator | 1,106 | 1.94 | 31.88 | 30.61 |
Add New /wp-admin/post-new.php?post_type=trotator | 2,283 | 7.67 | 170.58 | 63.89 |
Testimonial Category /wp-admin/edit-tags.php?taxonomy=testimonial_cat&post_type=trotator | 1,319 | 2.25 | 27.67 | 31.06 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/faltu-testimonial-rotator/main-function.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Contributors: Plugin contributors field is missing
faltu-testimonial-rotator/main-function.php 85% from 13 tests
The primary PHP file in "Faltu Testimonial Rotator" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 150 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("faltu-testimonial-rotator.php" instead of "main-function.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin188 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 14 | 102 |
CSS | 1 | 16 | 3 | 84 |
JavaScript | 2 | 0 | 13 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
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 | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin