Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/goarch-online-chapel-daily-xml-feed-parser/online-chapel-xml-parser.php+33
file_get_contents(): Filename cannot be empty
Server metrics [RAM: ▼1.96MB] [CPU: ▼21.14ms] Passed 4 tests
Analyzing server-side resources used by GOARCH Online Chapel Parser
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 34.55 ▼6.25 |
Dashboard /wp-admin | 2.05 ▼1.25 | 35.23 ▼14.31 |
Posts /wp-admin/edit.php | 2.05 ▼1.30 | 31.59 ▼19.06 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 43.67 ▼44.94 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 34.24 ▼2.95 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_oc_parser_plugin |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for GOARCH Online Chapel Parser
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.29 ▼1.08 | 1.79 ▲0.03 | 37.39 ▼3.04 |
Dashboard /wp-admin | 2,200 ▲8 | 5.79 ▲0.84 | 100.54 ▼10.38 | 38.88 ▼6.47 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.02 | 39.53 ▼2.40 | 34.38 ▼6.80 |
Add New Post /wp-admin/post-new.php | 1,514 ▼15 | 17.43 ▼5.55 | 663.70 ▼19.77 | 57.36 ▲4.36 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.16 ▼0.10 | 94.40 ▼11.88 | 41.84 ▼4.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/goarch-online-chapel-daily-xml-feed-parser/online-chapel-xml-parser.php+202
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_oc_parser_plugin
- can_compress_scripts
- db_upgraded
- widget_recent-comments
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/goarch-online-chapel-daily-xml-feed-parser/online-chapel-xml-parser.php:16
- > 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 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== goarch-online-chapel-daily-xml-feed-parser ===
)
goarch-online-chapel-daily-xml-feed-parser/online-chapel-xml-parser.php 85% from 13 tests
Analyzing the main PHP file in "GOARCH Online Chapel Parser" version 0.1.1
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 298 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("goarch-online-chapel-daily-xml-feed-parser.php" instead of "online-chapel-xml-parser.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
Everything looks great! No dangerous files found in this plugin278 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 28 | 203 |
XML | 1 | 0 | 0 | 75 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 7 | |
▷ Named functions | 7 | 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