Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.78ms] Passed 4 tests
An overview of server-side resources used by Cincopa video and media plug-in
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 44.83 ▲1.41 |
Dashboard /wp-admin | 3.42 ▲0.12 | 49.38 ▲2.39 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.64 ▲4.15 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 85.26 ▼9.65 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 33.66 ▼1.25 |
Cincopa Options /wp-admin/options-general.php?page=cincopaoptions | 3.23 | 34.49 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_cincopawidget |
Browser metrics Passed 4 tests
An overview of browser requirements for Cincopa video and media plug-in
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.28 ▼0.13 | 2.04 ▲0.37 | 45.76 ▲1.20 |
Dashboard /wp-admin | 2,225 ▲48 | 5.65 ▼0.02 | 93.74 ▲7.07 | 79.42 ▲40.15 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.11 ▲0.10 | 34.03 ▲0.02 | 34.89 ▼2.05 |
Add New Post /wp-admin/post-new.php | 6,240 ▲4,709 | 19.16 ▼3.93 | 866.66 ▲212.25 | 40.53 ▼12.18 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.20 ▲0.00 | 94.04 ▼12.98 | 73.60 ▲26.54 |
Cincopa Options /wp-admin/options-general.php?page=cincopaoptions | 1,061 | 2.27 | 27.43 | 43.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_cincopawidget
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=cincopaoptions
- > Notice in wp-content/plugins/video-playlist-and-gallery-plugin/wp-media-cincopa.php+704
Undefined index: csrfToken
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/video-playlist-and-gallery-plugin/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/video-playlist-and-gallery-plugin/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=cincopaoptions
- > Network (severe)
https://api.cincopa.com/v2/ping.json?api_token= - Failed to load resource: the server responded with a status of 403 ()
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 49 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (Video Player - full solution to play video and playlists), #2 (Image gallery - support images and videos in same gallery), #3 (Image list pinterest - styled gallery with lightbox - support video players), #4 (Audio mobile - compatible with mobile and tablets - ipad, iphone, android etc), #5 (Audio playlist), #6 (Ligthbox), #7 (Start page), #8 (Video gallery), #9 (Video playlist), #10 (Cincopa fast access button), #11 (Cincopa fast access menu), #12 (Image list preview)
video-playlist-and-gallery-plugin/wp-media-cincopa.php 85% from 13 tests
"Cincopa video and media plug-in" version 1.158's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("video-playlist-and-gallery-plugin.php" instead of "wp-media-cincopa.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected3,596 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 716 | 1,666 | 2,818 |
JavaScript | 2 | 94 | 6 | 551 |
CSS | 2 | 18 | 35 | 227 |
PHP code Passed 2 tests
Analyzing 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.50 |
Average class complexity | 42.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.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 | 105 | |
▷ Static methods | 5 | 4.76% |
▷ Public methods | 82 | 78.10% |
▷ Protected methods | 23 | 21.90% |
▷ Private methods | 0 | 0.00% |
Functions | 51 | |
▷ Named functions | 51 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin