Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.11ms] Passed 4 tests
An overview of server-side resources used by Wp photo text slider 50
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.25 ▼2.30 |
Dashboard /wp-admin | 3.32 ▼0.03 | 42.08 ▼15.94 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.58 ▼0.89 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 78.68 ▼14.06 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.05 ▼4.14 |
Wp photo text slider /wp-admin/options-general.php?page=wp-photo-text-slider-50 | 3.29 | 29.15 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_wp_photo_50 |
New WordPress options |
---|
widget_recent-comments |
wp_50_type |
widget_theysaidso_widget |
wp_50_direction |
can_compress_scripts |
wp_50_title |
wp_50_speed |
wp_50_timeout |
widget_recent-posts |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Wp photo text slider 50
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲159 | 13.81 ▼0.47 | 7.70 ▲5.89 | 36.01 ▼1.62 |
Dashboard /wp-admin | 2,199 ▲22 | 5.65 ▼0.05 | 82.31 ▼6.27 | 39.33 ▼3.40 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.03 | 32.73 ▼1.28 | 33.04 ▼5.87 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.81 ▲0.18 | 660.31 ▲4.46 | 49.10 ▼7.74 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.19 ▲0.01 | 94.15 ▼12.46 | 40.39 ▼6.37 |
Wp photo text slider /wp-admin/options-general.php?page=wp-photo-text-slider-50 | 1,074 | 2.12 | 22.97 | 25.76 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
The following issues need your attention
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-photo-text-slider-50/pages/image-setting.php
- > /wp-content/plugins/wp-photo-text-slider-50/pages/image-management-add.php
- > /wp-content/plugins/wp-photo-text-slider-50/pages/image-management-show.php
- > /wp-content/plugins/wp-photo-text-slider-50/pages/image-management-edit.php
- > /wp-content/plugins/wp-photo-text-slider-50/wp-photo-text-slider-50.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: photo, slider, plugin, wordpress
wp-photo-text-slider-50/wp-photo-text-slider-50.php Passed 13 tests
The principal PHP file in "Wp photo text slider 50" v. 8.1 is loaded by WordPress automatically on each request
120 characters long description:
Wordpress plugin Wp photo text slider 50 create a photo (photo + heading + description) slider on the wordpress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,410 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 116 | 123 | 1,145 |
PHP | 6 | 106 | 44 | 886 |
PO File | 2 | 127 | 182 | 275 |
CSS | 1 | 10 | 10 | 104 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/image-icon.png | 0.61KB | 0.66KB | 0.00% |