Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.85ms] Passed 4 tests
A check of server-side resources used by Carousel for Awesome Filterable Portfolio
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.81 ▲0.14 |
Dashboard /wp-admin | 3.32 ▼0.02 | 54.39 ▼7.04 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.83 ▼1.26 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 110.32 ▲8.62 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.01 ▲0.75 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Carousel for Awesome Filterable Portfolio
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲181 | 13.73 ▼0.85 | 12.04 ▲10.14 | 43.86 ▲1.84 |
Dashboard /wp-admin | 2,198 ▲21 | 5.57 ▼0.13 | 90.03 ▼4.70 | 47.04 ▲5.52 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.07 | 33.05 ▼9.29 | 35.69 ▼3.75 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.21 ▲0.19 | 664.15 ▲34.29 | 57.11 ▲5.10 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.20 ▲0.09 | 100.23 ▼1.44 | 43.59 ▲1.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/carousel-for-awesome-filterable-portfolio/plugin.php:13
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: portfolio, carousel, elastic slider, awesome filterable, responsive...
carousel-for-awesome-filterable-portfolio/plugin.php 85% from 13 tests
This is the main PHP file of "Carousel for Awesome Filterable Portfolio" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("carousel-for-awesome-filterable-portfolio.php" instead of "plugin.php")
- Description: The description should be shorter than 140 characters (currently 225 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin984 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 285 | 191 | 649 |
CSS | 3 | 72 | 103 | 241 |
PHP | 1 | 32 | 26 | 94 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.33MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 147.90KB | 48.84KB | ▼ 66.98% |
inline-preview-image.png | 170.00KB | 51.66KB | ▼ 69.61% |
resources/images/black_denim.png | 9.78KB | 10.98KB | 0.00% |
resources/images/nav.png | 0.78KB | 0.46KB | ▼ 40.28% |
resources/images/carousel-arrow-left.png | 6.78KB | 2.64KB | ▼ 61.12% |