Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/decorative-caps-with-series/decorative-caps-with-series.php+35
include_once(wp-content/plugins/decorative-caps-with-series/../organize-series/orgSeries-taxonomy.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.97MB] [CPU: ▼55.23ms] Passed 4 tests
A check of server-side resources used by Decorative Caps with Series
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.28 ▼37.60 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.69 ▼54.01 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.23 ▼41.77 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.22 ▼87.54 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 7.00 ▼29.33 |
Decorative Caps With Series /wp-admin/options-general.php?page=decorative-caps-with-series/decorative-caps-with-series.php | 2.05 | 6.76 |
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: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
recovery_mode_email_last_sent |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
dcws_cssarray |
Browser metrics Passed 4 tests
Decorative Caps with Series: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,690 ▼56 | 13.25 ▼1.12 | 4.83 ▲3.28 | 24.87 ▼13.64 |
Dashboard /wp-admin | 2,210 ▲18 | 4.81 ▼0.11 | 97.49 ▼10.65 | 38.95 ▲0.33 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.96 ▼0.08 | 37.96 ▲2.28 | 32.00 ▼5.50 |
Add New Post /wp-admin/post-new.php | 45 ▼1,474 | 0.44 ▼23.03 | 0.13 ▼661.62 | 10.89 ▼51.90 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.36 ▲0.15 | 110.44 ▼0.76 | 60.26 ▲13.67 |
Decorative Caps With Series /wp-admin/options-general.php?page=decorative-caps-with-series/decorative-caps-with-series.php | 689 | 1.53 | 7.37 | 22.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/decorative-caps-with-series/decorative-caps-with-series.php+35
include_once(wp-content/plugins/decorative-caps-with-series/../organize-series/orgSeries-taxonomy.php): failed to open stream: No such file or directory
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- dcws_cssarray
- recovery_mode_email_last_sent
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=decorative-caps-with-series/decorative-caps-with-series.php
- > Warning in wp-content/plugins/decorative-caps-with-series/decorative-caps-with-series.php+35
include_once(wp-content/plugins/decorative-caps-with-series/../organize-series/orgSeries-taxonomy.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=decorative-caps-with-series/decorative-caps-with-series.php
- > Warning in wp-content/plugins/decorative-caps-with-series/decorative-caps-with-series.php+35
include_once(): Failed opening 'wp-content/plugins/decorative-caps-with-series/../organize-series/orgSeries-taxonomy.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/options-general.php?page=decorative-caps-with-series/decorative-caps-with-series.php
- > User deprecated in wp-includes/functions.php+5463
Function is_plugin_page is deprecated since version 3.1.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=decorative-caps-with-series/decorative-caps-with-series.php
- > Notice in wp-content/plugins/decorative-caps-with-series/decorative-caps-with-series.php+54
Undefined index: dcws_cssarray
- > GET request to /wp-admin/options-general.php?page=decorative-caps-with-series/decorative-caps-with-series.php
- > Error in wp-content/plugins/decorative-caps-with-series/decorative-caps-with-series.php+85
Uncaught Error: Call to undefined function get_series_ordered() in wp-content/plugins/decorative-caps-with-series/decorative-caps-with-series.php:85
Stack trace:
#0 wp-includes/class-wp-hook.php(310): scs_decorative_caps_options_page()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#5 {main}
thrown
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/decorative-caps-with-series/decorative-caps-with-series.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: formatting, decorative caps, initial caps, series
decorative-caps-with-series/decorative-caps-with-series.php Passed 13 tests
This is the main PHP file of "Decorative Caps with Series" version 2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
69 characters long description:
Change the first letter of a series post to a decorative cap via css.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected155 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 64 | 134 |
JavaScript | 1 | 5 | 7 | 21 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected