Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼134.65ms] Passed 4 tests
This is a short check of server-side resources used by Header-Marquee
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.21 | 35.14 ▲8.07 |
Dashboard /wp-admin | 3.17 ▲0.11 | 50.03 ▲4.77 |
Posts /wp-admin/edit.php | 3.22 ▲0.10 | 49.49 ▼0.47 |
Add New Post /wp-admin/post-new.php | 5.53 ▲0.09 | 97.85 ▼544.95 |
Media Library /wp-admin/upload.php | 3.11 ▲0.11 | 38.24 ▲2.07 |
Header-Marquee /wp-admin/options-general.php?page=header-marquee | 3.13 | 40.68 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 16 new options
New WordPress options |
---|
header_marquee_data_7 |
header_marquee_data_3 |
header_marquee_data_10 |
header_marquee_data_5 |
header_marquee_data_9 |
header_marquee_data_8 |
header_marquee_data |
header_marquee_data_4 |
header_marquee_data_11 |
header_marquee_data_15 |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Header-Marquee
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,743 ▲106 | 16.20 ▲0.26 | 10.29 ▲0.96 | 51.58 ▼8.02 |
Dashboard /wp-admin | 3,008 ▲75 | 6.61 ▲0.47 | 153.41 ▼19.61 | 122.49 ▼0.76 |
Posts /wp-admin/edit.php | 2,780 ▲41 | 2.99 ▲0.30 | 77.03 ▲11.58 | 110.23 ▲18.86 |
Add New Post /wp-admin/post-new.php | 1,711 ▲211 | 19.41 ▲1.06 | 371.62 ▼5.38 | 134.51 ▲22.66 |
Media Library /wp-admin/upload.php | 1,848 ▲41 | 5.46 ▲0.44 | 138.13 ▼17.87 | 125.88 ▼9.89 |
Header-Marquee /wp-admin/options-general.php?page=header-marquee | 2,821 | 8.41 | 226.15 | 128.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 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/header-marquee/header-marquee.php:76
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Requires php: Version format is invalid
header-marquee/header-marquee.php Passed 13 tests
The principal PHP file in "Header-Marquee" v. 1.1 is loaded by WordPress automatically on each request
115 characters long description:
This plugin will show a moving text (Marquee). The displayed text can be changed from Settings/Header-Marquee menu.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected755 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 15 | 484 |
PO File | 2 | 54 | 67 | 135 |
SVG | 1 | 1 | 0 | 85 |
JavaScript | 2 | 2 | 0 | 42 |
CSS | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 12 | |
▷ Named functions | 12 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon-256x256.png | 23.10KB | 8.14KB | ▼ 64.76% |
icon-128x128.png | 7.43KB | 3.50KB | ▼ 52.95% |