Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.70ms] Passed 4 tests
This is a short check of server-side resources used by HTTPS Social Migration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.43 ▼4.64 |
Dashboard /wp-admin | 3.36 ▲0.05 | 55.61 ▲7.56 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 51.36 ▼2.05 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.24 ▼18.14 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.35 ▲2.04 |
HTTPS Social Migration /wp-admin/options-general.php?page=mediavidi_https_social_migration | 3.26 | 34.14 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
HTTPS Social Migration: 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,797 ▲36 | 14.20 ▼0.38 | 1.86 ▲0.10 | 46.05 ▲1.66 |
Dashboard /wp-admin | 2,203 ▲26 | 5.64 ▲0.04 | 100.85 ▲9.41 | 44.07 ▲2.40 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.02 ▲0.05 | 37.60 ▼3.73 | 34.65 ▼0.62 |
Add New Post /wp-admin/post-new.php | 1,533 ▼12 | 22.96 ▼0.15 | 646.82 ▼33.65 | 51.58 ▼12.55 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.26 ▲0.03 | 105.53 ▼1.69 | 44.83 ▲0.93 |
HTTPS Social Migration /wp-admin/options-general.php?page=mediavidi_https_social_migration | 755 | 1.53 | 7.86 | 22.08 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- mediavidi_https_social_migration
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/https-social-migration/admin/partials/ssl_test.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/https-social-migration/admin/partials/mediavidi_https_social_migration-display.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=mediavidi_https_social_migration
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=mediavidi_https_social_migration 177:54 Uncaught TypeError: Cannot set properties of null (setting 'innerHTML')
- > GET request to /wp-admin/options-general.php?page=mediavidi_https_social_migration
- > Network (severe)
/wp-content/plugins/https-social-migration/admin/partials/ssl_test.php - Failed to load resource: net::ERR_CONNECTION_REFUSED
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 14 tag instead of maximum 10
https-social-migration/mediavidi_https_social_migration.php 77% from 13 tests
The main file in "HTTPS Social Migration" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("https-social-migration.php" instead of "mediavidi_https_social_migration.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
Everything looks great! No dangerous files found in this plugin313 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 100 | 274 | 310 |
JavaScript | 1 | 2 | 27 | 3 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 3 | 12.50% |
▷ Public methods | 20 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 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
There are no PNG files in this plugin