Benchmarks
Plugin footprint 83% from 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: ▼1.48ms] Passed 4 tests
Analyzing server-side resources used by Naiba Coming Soon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 48.97 ▲7.46 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.16 ▼3.23 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 52.81 ▲5.56 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 83.87 ▼12.74 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.24 ▲4.48 |
Naiba Coming Soon /wp-admin/options-general.php?page=naiba_coming_soon_settings | 3.22 | 29.77 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Naiba Coming Soon
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲149 | 13.31 ▼1.07 | 4.92 ▲3.04 | 44.12 ▼1.30 |
Dashboard /wp-admin | 2,301 ▲116 | 4.87 ▼0.98 | 111.58 ▼9.56 | 61.52 ▲17.91 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.00 | 39.15 ▲1.40 | 36.68 ▲1.76 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.10 ▼0.32 | 648.64 ▼33.61 | 52.81 ▼6.16 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▲0.00 | 94.54 ▼5.05 | 40.68 ▼5.79 |
Naiba Coming Soon /wp-admin/options-general.php?page=naiba_coming_soon_settings | 788 | 2.06 | 22.70 | 29.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Contributors: Plugin contributors field is missing
- Contributors: Please add at least on tag
naiba-coming-soon/naiba-coming-soon.php Passed 13 tests
The primary PHP file in "Naiba Coming Soon" version 1.0 is used by WordPress to initiate all plugin functionality
56 characters long description:
A simple and effective coming soon plugin for WordPress.
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 plugin164 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 27 | 112 |
CSS | 1 | 7 | 0 | 52 |
PHP code Passed 2 tests
An short overview of 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 | 5 | |
▷ Named functions | 5 | 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
PNG images were not found in this plugin