Benchmarks
Plugin footprint Passed 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.58MB] [CPU: ▼163.27ms] Passed 4 tests
Server-side resources used by WhitePage
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.06 | 33.10 ▼5.08 |
Dashboard /wp-admin | 3.12 ▲0.07 | 36.42 ▼4.81 |
Posts /wp-admin/edit.php | 3.17 ▲0.07 | 44.47 ▼3.28 |
Add New Post /wp-admin/post-new.php | 2.90 ▼2.53 | 29.16 ▼639.89 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 37.64 ▲1.01 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: 1 new table, no new options
New tables |
---|
wp_whitepage |
Browser metrics Passed 4 tests
A check of browser resources used by WhitePage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,699 ▲127 | 16.12 ▲0.19 | 7.88 ▼1.72 | 50.87 ▼1.83 |
Dashboard /wp-admin | 2,990 ▲59 | 5.83 ▼0.32 | 152.49 ▲0.58 | 116.44 ▲6.27 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.68 ▼0.02 | 71.30 ▼2.46 | 100.37 ▲1.52 |
Add New Post /wp-admin/post-new.php | 1,696 ▲102 | 18.81 ▲0.02 | 410.91 ▲11.83 | 116.79 ▼2.84 |
Media Library /wp-admin/upload.php | 1,827 ▲23 | 4.99 ▼0.06 | 149.32 ▼5.00 | 124.20 ▼1.09 |
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 successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/white-page-publication/whitepage.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/white-page-publication/params_api_form.php:4
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/white-page-publication/params_api_form.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- License: Not defined
- Screenshots: Please add an image for screenshot #1 (Setting on single site installation)
white-page-publication/whitepage.php 92% from 13 tests
Analyzing the main PHP file in "WhitePage" version 1.1.5
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("white-page-publication.php" instead of "whitepage.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin388 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 86 | 39 | 388 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin