Benchmarks
Plugin footprint 83% from 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.04MB] [CPU: ▼2.32ms] Passed 4 tests
A check of server-side resources used by CHURCHOPE Theme iCal Generator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.04 | 38.48 ▼5.13 |
Dashboard /wp-admin | 3.39 ▲0.04 | 51.69 ▼2.06 |
Posts /wp-admin/edit.php | 3.51 ▲0.10 | 48.79 ▼1.96 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.04 | 93.69 ▼0.13 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 39.06 ▲3.73 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by CHURCHOPE Theme iCal Generator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.51 ▲0.16 | 2.16 ▲0.67 | 41.01 ▼1.01 |
Dashboard /wp-admin | 2,195 ▲21 | 5.51 ▼0.14 | 91.09 ▼2.61 | 42.76 ▼4.52 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.98 ▲0.01 | 35.46 ▼1.75 | 36.41 ▼0.46 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.22 ▲0.33 | 662.41 ▲13.70 | 56.59 ▲6.56 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▼0.03 | 97.46 ▼1.11 | 42.04 ▼0.05 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
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
Even though no errors were found, this is by no means an exhaustive test
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
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
include_once(): Failed opening 'ical-churchope/classes/ChurchopeFunctionProxy.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/churchope-theme-icalendar-generator/ical-churchope/test/ChurchopeICalGeneratorTest.php on line 21
- > PHP Warning
include_once(ical-churchope/classes/WordPressFunctionProxy.php): failed to open stream: No such file or directory in wp-content/plugins/churchope-theme-icalendar-generator/ical-churchope/test/ChurchopeICalGeneratorTest.php on line 22
- > PHP Warning
include_once(): Failed opening 'ical-churchope/classes/ChurchopeICalGenerator.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/churchope-theme-icalendar-generator/ical-churchope/test/ChurchopeICalGeneratorTest.php on line 20
- > PHP Warning
include_once(ical-churchope/classes/DateUtils.php): failed to open stream: No such file or directory in wp-content/plugins/churchope-theme-icalendar-generator/ical-churchope/test/DateUtilsTest.php on line 20
- > PHP Warning
include_once(): Failed opening 'ical-churchope/classes/DateUtils.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/churchope-theme-icalendar-generator/ical-churchope/test/DateUtilsTest.php on line 20
- > PHP Warning
include_once(ical-churchope/classes/ChurchopeFunctionProxy.php): failed to open stream: No such file or directory in wp-content/plugins/churchope-theme-icalendar-generator/ical-churchope/test/ChurchopeICalGeneratorTest.php on line 21
- > PHP Warning
include_once(ical-churchope/classes/ChurchopeICalGenerator.php): failed to open stream: No such file or directory in wp-content/plugins/churchope-theme-icalendar-generator/ical-churchope/test/ChurchopeICalGeneratorTest.php on line 20
- > PHP Warning
include_once(): Failed opening 'ical-churchope/classes/WordPressFunctionProxy.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/churchope-theme-icalendar-generator/ical-churchope/test/ChurchopeICalGeneratorTest.php on line 22
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/churchope-theme-icalendar-generator/ical-churchope/test/DateUtilsTest.php:22
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/churchope-theme-icalendar-generator/ical-churchope/test/ChurchopeICalGeneratorTest.php:24
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== churchope-theme-icalendar-generator ===
)
churchope-theme-icalendar-generator/ical-churchope.php 85% from 13 tests
"CHURCHOPE Theme iCal Generator" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 218 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("churchope-theme-icalendar-generator.php" instead of "ical-churchope.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
Success! There were no dangerous files found in this plugin350 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 170 | 261 | 350 |
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.16 |
Average class complexity | 5.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 9.09% |
Functions | 2 | |
▷ Named functions | 2 | 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 files were detected