Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼1.78ms] Passed 4 tests
Analyzing server-side resources used by Gallery Carousel Without JetPack
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 42.93 ▲3.70 |
Dashboard /wp-admin | 3.44 ▲0.13 | 50.49 ▼0.66 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.41 ▼4.43 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 83.80 ▼2.26 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.07 ▲0.25 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Gallery Carousel Without JetPack
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.35 ▼0.03 | 2.18 ▲0.14 | 45.48 ▲2.07 |
Dashboard /wp-admin | 2,189 ▲12 | 5.56 ▼0.08 | 89.22 ▼1.80 | 38.74 ▼2.82 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.03 | 34.54 ▼4.32 | 38.28 ▲0.11 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.13 ▲4.83 | 611.64 ▼42.31 | 47.95 ▼29.99 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.21 ▲0.02 | 97.25 ▼17.76 | 42.42 ▼2.05 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please 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_action() in wp-content/plugins/carousel-without-jetpack/carousel/jetpack-carousel.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/carousel-without-jetpack/carousel-without-jetpack.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Gallery Carousel.) image required
carousel-without-jetpack/carousel-without-jetpack.php Passed 13 tests
The primary PHP file in "Gallery Carousel Without JetPack" version 0.7.5 is used by WordPress to initiate all plugin functionality
124 characters long description:
Transform your standard galleries into an immersive full-screen experience without requiring you to connect to WordPress.com
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin4,334 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 324 | 27 | 1,951 |
JavaScript | 3 | 301 | 175 | 1,526 |
PHP | 3 | 128 | 137 | 503 |
PO File | 3 | 137 | 271 | 354 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 31.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 34 | |
▷ Static methods | 5 | 14.71% |
▷ Public methods | 34 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
9 compressed PNG files occupy 0.36MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
carousel/images/carousel-likereblog.png | 0.53KB | 0.78KB | 0.00% |
carousel/images/carousel-link-2x.png | 0.85KB | 1.64KB | 0.00% |
carousel/images/carousel-sprite-2x.png | 2.03KB | 2.34KB | 0.00% |
carousel/images/carousel-link.png | 0.42KB | 0.84KB | 0.00% |
carousel/images/arrows-2x.png | 9.83KB | 8.15KB | ▼ 17.02% |