Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼5.69ms] Passed 4 tests
Analyzing server-side resources used by Minimum Viable Sharing Meta
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 44.42 ▼2.57 |
Dashboard /wp-admin | 3.49 ▲0.18 | 51.83 ▼0.52 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 49.27 ▼5.05 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 88.55 ▼14.63 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 41.80 ▲4.65 |
Sharing Meta Tags /wp-admin/themes.php?page=minshare-meta-settings | 3.41 | 39.19 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Minimum Viable Sharing Meta
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.41 ▼0.27 | 1.82 ▼0.10 | 44.25 ▼1.78 |
Dashboard /wp-admin | 2,222 ▲25 | 5.83 ▼0.07 | 98.49 ▼20.86 | 39.45 ▼7.65 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.02 ▲0.03 | 34.60 ▼4.70 | 32.17 ▼2.41 |
Add New Post /wp-admin/post-new.php | 6,295 ▲4,750 | 18.96 ▼4.35 | 913.56 ▲231.14 | 74.10 ▲20.72 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.24 ▲0.05 | 106.41 ▼0.61 | 44.44 ▼2.50 |
Sharing Meta Tags /wp-admin/themes.php?page=minshare-meta-settings | 1,051 | 3.09 | 41.88 | 29.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/minimum-viable-sharing-meta/includes/uninstall.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/minimum-viable-sharing-meta/includes/install.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: sharing tags, meta tags
minimum-viable-sharing-meta/minimum-viable-sharing-meta.php 92% from 13 tests
The main PHP file in "Minimum Viable Sharing Meta" ver. 0.0.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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 plugin954 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 376 | 705 | 803 |
CSS | 2 | 19 | 0 | 65 |
JavaScript | 2 | 27 | 40 | 54 |
Markdown | 2 | 14 | 0 | 32 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 25.43 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 45 | |
▷ Static methods | 16 | 35.56% |
▷ Public methods | 44 | 97.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.22% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin