Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.27ms] Passed 4 tests
An overview of server-side resources used by Pray for the Nations
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.89 ▲3.73 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.84 ▼0.76 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.04 ▲1.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.19 ▼10.96 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.92 ▲0.80 |
Server storage [IO: ▲2.74MB] [DB: ▲0.51MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 270 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_world_prayer |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Pray for the Nations
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.33 ▼1.24 | 1.72 ▼0.21 | 43.62 ▲0.94 |
Dashboard /wp-admin | 2,222 ▲51 | 5.84 ▼0.06 | 104.59 ▼11.16 | 41.15 ▼0.05 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 1.99 ▼0.00 | 38.74 ▼0.64 | 35.34 ▲3.03 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 23.32 ▲0.12 | 622.99 ▼14.98 | 57.23 ▼1.17 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.22 ▲0.00 | 96.76 ▼7.72 | 43.35 ▲0.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.51MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_world_prayer
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/pray-for-the-nations/index.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 on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: prayer, nations, cia factbook
pray-for-the-nations/index.php 92% from 13 tests
The main PHP script in "Pray for the Nations" version 1.0.4 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("pray-for-the-nations.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected12,204 lines of code in 268 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 267 | 0 | 0 | 11,732 |
PHP | 1 | 92 | 58 | 472 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin