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
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.26ms] Passed 4 tests
A check of server-side resources used by Vertical marquee plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.90 ▲4.43 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.92 ▼6.69 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 49.09 ▼0.32 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 83.63 ▼11.31 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.36 ▼6.72 |
Vertical marquee /wp-admin/options-general.php?page=vertical-marquee-plugin | 3.32 | 34.88 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_verticalmarquee |
New WordPress options |
---|
vm_setting3 |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_verticalmarquee |
vm_setting1 |
widget_recent-posts |
vm_setting2 |
widget_recent-comments |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Vertical marquee plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.72 ▲0.10 | 1.89 ▲0.14 | 43.69 ▲1.53 |
Dashboard /wp-admin | 2,199 ▲22 | 5.64 ▼0.02 | 85.05 ▼12.87 | 38.84 ▼0.22 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.96 ▲0.00 | 39.13 ▼1.29 | 38.48 ▲1.09 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 18.19 ▼3.26 | 587.82 ▼160.13 | 64.80 ▼2.82 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.16 ▲0.07 | 93.57 ▼16.89 | 42.29 ▼7.71 |
Vertical marquee /wp-admin/options-general.php?page=vertical-marquee-plugin | 939 | 2.03 | 26.83 | 27.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_verticalmarquee
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
Please fix the following
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/vertical-marquee-plugin/pages/content-management-add.php
- > /wp-content/plugins/vertical-marquee-plugin/pages/content-management-show.php
- > /wp-content/plugins/vertical-marquee-plugin/pages/content-setting.php
- > /wp-content/plugins/vertical-marquee-plugin/pages/content-management-edit.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/vertical-marquee-plugin/vertical-marquee-plugin.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/vertical-marquee-plugin/vertical-marquee-plugin.php:22
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #2 in vertical-marquee-plugin/assets to your readme.txt
vertical-marquee-plugin/vertical-marquee-plugin.php Passed 13 tests
The main file in "Vertical marquee plugin" v. 7.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
130 characters long description:
You can use this vertical marquee plugin to make your text scroll upward or downwards. This plugin will work all leading browsers.
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
There were no executable files found in this plugin1,264 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 100 | 38 | 934 |
PO File | 2 | 122 | 180 | 298 |
JavaScript | 1 | 3 | 1 | 31 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
PNG images were not found in this plugin