Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.87ms] Passed 4 tests
Analyzing server-side resources used by Official Markerly Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.08 | 25.89 ▼18.34 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.85 ▼9.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 52.04 ▲4.89 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 96.75 ▼3.69 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.15 ▼3.82 |
Markerly Options /wp-admin/options-general.php?page=markerlyoptions | 3.23 | 29.76 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Official Markerly Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,970 ▲224 | 13.79 ▼0.62 | 18.75 ▲16.74 | 47.41 ▲4.22 |
Dashboard /wp-admin | 2,207 ▲19 | 4.89 ▼0.22 | 99.80 ▼8.68 | 39.29 ▼1.12 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.02 | 41.20 ▲4.86 | 45.88 ▲4.61 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.30 ▲0.14 | 641.90 ▲26.25 | 52.93 ▼14.00 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.15 ▼0.06 | 98.09 ▼14.47 | 42.13 ▼9.49 |
Markerly Options /wp-admin/options-general.php?page=markerlyoptions | 924 | 1.72 | 24.15 | 46.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=markerlyoptions
- > Notice in wp-content/plugins/official-markerly-widget/markerly-plugin.php+84
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=markerlyoptions
- > Notice in wp-content/plugins/official-markerly-widget/markerly-plugin.php+85
Undefined index: image_sharing
- > GET request to /wp-admin/options-general.php?page=markerlyoptions
- > Notice in wp-content/plugins/official-markerly-widget/markerly-plugin.php+86
Undefined index: tip_style
- > GET request to /wp-admin/options-general.php?page=markerlyoptions
- > Notice in wp-content/plugins/official-markerly-widget/markerly-plugin.php+87
Undefined index: services
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=markerlyoptions
- > Notice in wp-content/plugins/official-markerly-widget/markerly-plugin.php+142
Undefined index: image_services
- > GET request to /wp-admin/options-general.php?page=markerlyoptions
- > Notice in wp-content/plugins/official-markerly-widget/markerly-plugin.php+89
Undefined index: service_color
- > GET request to /wp-admin/options-general.php?page=markerlyoptions
- > Notice in wp-content/plugins/official-markerly-widget/markerly-plugin.php+117
Undefined index: pub_id
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/official-markerly-widget/markerly-plugin.php:25
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=markerlyoptions
- > Network (severe)
https://markerly.comassets/js/lib/colorpicker/jquery.miniColors.css - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/options-general.php?page=markerlyoptions
- > Network (severe)
https://markerly.comassets/js/lib/colorpicker/jquery.miniColors.min.js - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/options-general.php?page=markerlyoptions
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).miniColors is not a function" "TypeError: $(...).miniColors is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/options-general.php?page=markerlyoptions:168:28)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=markerlyoptions
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).miniColors is not a function
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Donate link: Invalid url: "It's free! Enjoy!"
- Tags: There are too many tags (24 tag instead of maximum 10)
official-markerly-widget/markerly-plugin.php 92% from 13 tests
The primary PHP file in "Official Markerly Widget" version 1.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("official-markerly-widget.php" instead of "markerly-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin179 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 28 | 130 |
Markdown | 1 | 21 | 0 | 49 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin