Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼141.77ms] Passed 4 tests
Server-side resources used by Float Content
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.76 ▲0.04 | 24.54 ▲3.72 |
Dashboard /wp-admin | 3.10 ▲0.05 | 44.75 ▲1.36 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 38.77 ▼7.32 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 87.20 ▼560.83 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 32.59 ▼0.28 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Float Content
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,815 ▲219 | 16.37 ▲0.78 | 14.83 ▲5.66 | 44.98 ▼0.38 |
Dashboard /wp-admin | 2,996 ▲59 | 5.89 ▼0.07 | 137.40 ▼11.14 | 108.09 ▲3.84 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.72 ▲0.00 | 63.12 ▼1.20 | 86.47 ▲2.79 |
Add New Post /wp-admin/post-new.php | 1,631 ▲50 | 21.40 ▲7.09 | 296.43 ▼116.38 | 110.86 ▼5.98 |
Media Library /wp-admin/upload.php | 1,829 ▲22 | 4.99 ▼0.01 | 155.84 ▼5.93 | 116.91 ▼6.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/floating-content/floating-content.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
floating-content/floating-content.php Passed 13 tests
The principal PHP file in "Float Content" v. 0.1.1.1 is loaded by WordPress automatically on each request
21 characters long description:
Float content plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin684 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 82 | 20 | 394 |
PHP | 1 | 70 | 34 | 288 |
CSS | 1 | 0 | 0 | 1 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/close-icon.png | 1.31KB | 1.44KB | 0.00% |