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
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.73ms] Passed 4 tests
An overview of server-side resources used by Chick Comic Embedder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.63 ▼2.61 |
Dashboard /wp-admin | 3.35 ▲0.00 | 44.61 ▼15.67 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.22 ▼2.36 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.85 ▼8.04 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 31.72 ▼4.60 |
Chick Comics /wp-admin/options-general.php?page=chick_comics | 3.22 | 27.47 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
cce_default_style |
db_upgraded |
cce_default_unavailable |
widget_theysaidso_widget |
cce_default_comic |
Browser metrics Passed 4 tests
A check of browser resources used by Chick Comic Embedder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.38 ▼0.02 | 1.64 ▼0.15 | 41.71 ▲1.96 |
Dashboard /wp-admin | 2,199 ▲22 | 5.57 ▼0.06 | 89.29 ▲3.69 | 42.48 ▼3.67 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▼0.07 | 39.65 ▲2.38 | 36.70 ▼0.39 |
Add New Post /wp-admin/post-new.php | 1,538 ▲1 | 18.27 ▼0.12 | 619.43 ▼30.87 | 70.61 ▲1.35 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.18 ▼0.00 | 94.12 ▼7.60 | 40.95 ▼5.53 |
Chick Comics /wp-admin/options-general.php?page=chick_comics | 955 | 2.00 | 22.73 | 32.59 |
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
- This plugin did not uninstall successfully, leaving 9 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- cce_default_comic
- widget_recent-comments
- cce_default_unavailable
- cce_default_style
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=chick_comics
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=chick_comics
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chick-comic-embedder/options.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/chick-comic-embedder/styles-preview-template.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/chick-comic-embedder/chick-comic-embedder.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/chick-comic-embedder/style-preview.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/chick-comic-embedder/shortcode.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
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
5 plugin tags: comics, shortcode, tract, chick, comic
chick-comic-embedder/chick-comic-embedder.php Passed 13 tests
"Chick Comic Embedder" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
100 characters long description:
This plugin allows you to embed Jack Chick's great comics into your posts and pages using shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin298 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 115 | 233 | 273 |
CSS | 1 | 6 | 6 | 25 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 17 | |
▷ Named functions | 17 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin