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.00MB] [CPU: ▼8.58ms] Passed 4 tests
Server-side resources used by Juxtapose Images
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.55 ▼10.72 |
Dashboard /wp-admin | 3.32 ▼0.03 | 43.59 ▼15.74 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.16 ▼5.56 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.58 ▲3.43 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.33 ▼2.29 |
Juxtapose Images /wp-admin/options-general.php?page=juxtapose | 3.23 | 27.44 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Juxtapose Images: 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,804 ▲58 | 13.25 ▼1.13 | 4.05 ▲2.32 | 39.48 ▼1.84 |
Dashboard /wp-admin | 2,213 ▲25 | 4.85 ▼0.09 | 108.35 ▲5.75 | 39.14 ▲1.36 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.03 | 38.82 ▲3.63 | 34.03 ▼3.80 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.21 ▼4.96 | 620.17 ▼84.97 | 55.17 ▼8.09 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.29 ▲0.03 | 96.23 ▼16.81 | 43.68 ▼4.66 |
Juxtapose Images /wp-admin/options-general.php?page=juxtapose | 841 | 2.04 | 22.35 | 30.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/juxtapose-images/templates/admin/settings.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/juxtapose-images/juxtapose.php:194
- > 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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Donate link: Invalid URI ("")
- Screenshots: Add images for these screenshots: #1 (This the way to create a juxtapose slider.), #2 (This picture shows what will see your users.)
juxtapose-images/juxtapose.php 85% from 13 tests
The primary PHP file in "Juxtapose Images" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("juxtapose-images.php" instead of "juxtapose.php")
- Description: Keep the plugin description shorter than 140 characters (currently 252 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,017 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 114 | 32 | 592 |
CSS | 1 | 53 | 6 | 284 |
PHP | 2 | 63 | 45 | 141 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 2 | 20.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 1 | 10.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin