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.61MB] [CPU: ▼6.09ms] Passed 4 tests
An overview of server-side resources used by MightyShare - Auto-Generated Social Media Images
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.01 ▲0.55 | 41.29 ▲0.45 |
Dashboard /wp-admin | 3.94 ▲0.60 | 48.57 ▼15.23 |
Posts /wp-admin/edit.php | 4.06 ▲0.70 | 45.50 ▲1.69 |
Add New Post /wp-admin/post-new.php | 6.54 ▲0.66 | 94.73 ▼7.18 |
Media Library /wp-admin/upload.php | 3.86 ▲0.64 | 34.88 ▼2.40 |
MightyShare /wp-admin/options-general.php?page=mightyshare | 3.87 | 41.59 |
Server storage [IO: ▲0.13MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for MightyShare - Auto-Generated Social Media Images
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲57 | 14.36 ▼0.17 | 1.69 ▼0.05 | 41.76 ▼2.56 |
Dashboard /wp-admin | 2,209 ▲29 | 5.63 ▼0.04 | 94.32 ▲6.51 | 44.13 ▲6.61 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.00 ▲0.05 | 33.18 ▼4.15 | 34.45 ▲2.70 |
Add New Post /wp-admin/post-new.php | 13,962 ▲12,436 | 19.26 ▼4.35 | 969.75 ▲270.85 | 44.39 ▼15.76 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.14 ▼0.06 | 94.60 ▼9.63 | 41.52 ▼4.98 |
MightyShare /wp-admin/options-general.php?page=mightyshare | 8,936 | 3.80 | 61.66 | 29.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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: open graph images, social preview, social media, twitter card, open graph
mightyshare/mightyshare.php Passed 13 tests
The main file in "MightyShare - Auto-Generated Social Media Images" v. 1.3.10 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
Automatically generate social share preview images with MightyShare!
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
Good job! No executable or dangerous file extensions detected3,016 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 256 | 101 | 2,774 |
CSS | 1 | 0 | 0 | 160 |
JavaScript | 1 | 11 | 2 | 82 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 45.60 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 7.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.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 | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 37 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 6 | 60.00% |
▷ Anonymous functions | 4 | 40.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There are no PNG files in this plugin