Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.13ms] Passed 4 tests
Server-side resources used by StoryChief ACF
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.59 ▼4.45 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.70 ▼3.48 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.35 ▼0.46 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.16 ▼4.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.02 ▼12.14 |
Storychief ACF /wp-admin/options-general.php?page=storychief-acf | 3.26 | 32.52 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for StoryChief ACF
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.67 ▼0.62 | 1.86 ▼0.14 | 42.87 ▼4.26 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼1.04 | 102.50 ▼9.46 | 38.96 ▼8.45 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.04 ▲0.03 | 41.03 ▲0.65 | 30.65 ▼5.44 |
Add New Post /wp-admin/post-new.php | 1,549 ▲15 | 18.28 ▼4.99 | 606.82 ▼5.53 | 68.97 ▲5.94 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.19 ▼0.13 | 94.60 ▼12.85 | 43.59 ▲2.08 |
Storychief ACF /wp-admin/options-general.php?page=storychief-acf | 846 | 2.06 | 27.15 | 24.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/storychief-acf/storychief-acf.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/storychief-acf/views/config.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
3 plugin tags: storychief, acf, advanced custom fields
storychief-acf/storychief-acf.php Passed 13 tests
Analyzing the main PHP file in "StoryChief ACF" version 1.0.4
51 characters long description:
This plugin lets Storychief and ACF work together .
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin323 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 67 | 29 | 323 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 28 | 100.00% |
▷ Public methods | 24 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 14.29% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin