Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.26ms] Passed 4 tests
An overview of server-side resources used by Procure Eminence Theater
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.24 ▼1.54 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.63 ▼15.28 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 53.76 ▼3.41 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 97.54 ▼4.82 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.36 ▲0.03 |
Procure Eminence Theater /wp-admin/options-general.php?page=ProcureEminenceTheaterSettingsTitle | 3.21 | 35.23 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 15 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
YouTubeTheaterChannel |
YouTubeTheaterPrivacyMode |
YouTubeTheaterVideoLinksArray |
theysaidso_admin_options |
YouTubeTheaterVideoTitlesArray |
can_compress_scripts |
widget_recent-comments |
YouTubeTheaterVideoAutoPlay |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Procure Eminence Theater
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 14.22 ▲0.11 | 1.74 ▲0.01 | 44.96 ▲0.67 |
Dashboard /wp-admin | 2,196 ▲19 | 5.55 ▼0.02 | 93.44 ▼2.02 | 43.07 ▼0.04 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.03 ▲0.05 | 36.13 ▼4.52 | 36.91 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.22 ▲0.13 | 604.89 ▼77.39 | 66.47 ▲10.11 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.13 | 94.87 ▼24.15 | 43.44 ▼4.94 |
Procure Eminence Theater /wp-admin/options-general.php?page=ProcureEminenceTheaterSettingsTitle | 1,128 | 2.02 | 22.63 | 32.12 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 15 options in the database
- YouTubeTheaterSuggVid
- YouTubeTheaterVideoTitlesArray
- YouTubeTheaterHttps
- YouTubeTheaterChannel
- can_compress_scripts
- YouTubeTheaterVideoLinksArray
- YouTubeTheaterPrivacyMode
- widget_theysaidso_widget
- theysaidso_admin_options
- YouTubeTheaterAnimation
- ...
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/procure-eminence-theater/ProcureEminenceTheater.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: video launcher, theater, youtube embed, youtube video, procure eminence theater
procure-eminence-theater/ProcureEminenceTheater.php 92% from 13 tests
The main PHP file in "Procure Eminence Theater" ver. 2.5.2013 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("procure-eminence-theater.php" instead of "ProcureEminenceTheater.php")
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 plugin578 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 81 | 578 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 7 | |
▷ Named functions | 7 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin