Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.61ms] Passed 4 tests
Analyzing server-side resources used by Cinematic 3D Parallax Touch Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.09 ▼3.16 |
Dashboard /wp-admin | 3.39 ▲0.08 | 48.20 ▼0.33 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.35 ▲0.89 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 84.76 ▼15.82 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.75 ▲5.72 |
Server storage [IO: ▲8.89MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Cinematic 3D Parallax Touch Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲131 | 13.60 ▼0.69 | 1.74 ▼0.12 | 45.04 ▼2.23 |
Dashboard /wp-admin | 2,280 ▲92 | 5.85 ▲1.00 | 95.19 ▼18.81 | 40.18 ▼4.61 |
Posts /wp-admin/edit.php | 2,166 ▲80 | 2.04 ▲0.03 | 33.93 ▼1.87 | 34.83 ▼0.95 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 18.36 ▲0.85 | 612.66 ▼9.22 | 54.85 ▲0.96 |
Media Library /wp-admin/upload.php | 1,465 ▲80 | 4.19 ▲0.02 | 102.48 ▲3.96 | 41.95 ▼0.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/cinematic/admin/partials/cinematic-admin-display.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
cinematic/cinematic.php Passed 13 tests
Analyzing the main PHP file in "Cinematic 3D Parallax Touch Slider" version 1.0.0
36 characters long description:
Cinematic - 3D Parallax Touch Slider
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin3,093 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 16 | 54 | 1,653 |
CSS | 2 | 124 | 55 | 800 |
PHP | 12 | 135 | 543 | 640 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for 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.08 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 7 | 22.58% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 8.26MB with 5.93MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/slide1/2.png | 1,688.57KB | 385.29KB | ▼ 77.18% |
admin/images/icons/favicon-96x96.png | 2.26KB | 1.47KB | ▼ 34.99% |
admin/images/slide2/2.png | 1,858.24KB | 433.18KB | ▼ 76.69% |
admin/images/slide3/3.png | 308.02KB | 42.98KB | ▼ 86.05% |
admin/images/slide3/4.png | 526.67KB | 85.69KB | ▼ 83.73% |