Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼140.23ms] Passed 4 tests
An overview of server-side resources used by Wp Service Box
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.04 | 34.30 ▼3.42 |
Dashboard /wp-admin | 3.09 ▲0.03 | 46.41 ▼0.64 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 46.02 ▲2.73 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 88.91 ▼556.40 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 32.69 ▼0.45 |
Service Box /wp-admin/edit.php?post_type=service-box | 3.07 | 33.21 |
Add New /wp-admin/post-new.php?post_type=service-box | 3.13 | 48.60 |
Server storage [IO: ▲1.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Wp Service Box: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,860 ▲265 | 16.30 ▲0.49 | 14.30 ▲5.51 | 77.67 ▲25.35 |
Dashboard /wp-admin | 3,027 ▲93 | 5.97 ▲0.04 | 140.48 ▼4.71 | 111.37 ▼1.47 |
Posts /wp-admin/edit.php | 2,774 ▲38 | 2.83 ▲0.14 | 62.90 ▼4.84 | 86.38 ▼5.27 |
Add New Post /wp-admin/post-new.php | 1,706 ▲23 | 18.74 ▲1.94 | 396.29 ▲14.33 | 113.03 ▲2.47 |
Media Library /wp-admin/upload.php | 1,848 ▲41 | 5.02 ▼0.00 | 162.70 ▼0.77 | 120.24 ▲2.01 |
Service Box /wp-admin/edit.php?post_type=service-box | 1,431 | 2.61 | 64.57 | 80.05 |
Add New /wp-admin/post-new.php?post_type=service-box | 2,870 | 8.88 | 229.67 | 146.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-service-box/wp-service-box.php:14
- > PHP Fatal error
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 93% from 29 tests
readme.txt 88% 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 to be fixed:
- Screenshots: Add images for these screenshots: #1 (This is the first screen shot), #2 (This is the second screen shot), #3 (This is the third screen shot), #4 (This is the fourth screen shot), #5 (This is the fifth screen shot)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wp-service-box ===
)
wp-service-box/wp-service-box.php Passed 13 tests
Analyzing the main PHP file in "Wp Service Box" version 1.0
90 characters long description:
Service Box is simple, responsive, lightweight plugin for creating responsive service box.
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
There were no executable files found in this plugin1,168 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 0 | 973 |
CSS | 4 | 1 | 16 | 82 |
PHP | 1 | 12 | 8 | 65 |
JavaScript | 2 | 0 | 5 | 30 |
HTML | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
Analyzing 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.05 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin