Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.70MB] [CPU: ▼20.48ms] Passed 4 tests
A check of server-side resources used by REAL Archive Pages List
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.46 ▼0.67 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.27 ▼15.55 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.46 ▲2.28 |
Add New Post /wp-admin/post-new.php | 3.10 ▼2.79 | 37.92 ▼67.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.40 ▲5.45 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 57 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
recovery_mode_email_last_sent |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by REAL Archive Pages List
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.20 ▼0.46 | 1.92 ▲0.26 | 44.42 ▲3.12 |
Dashboard /wp-admin | 2,214 ▲33 | 5.61 ▼0.10 | 94.11 ▼6.90 | 42.35 ▲0.12 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.98 ▼0.01 | 38.34 ▲1.09 | 36.23 ▲2.08 |
Add New Post /wp-admin/post-new.php | 45 ▼1,486 | 0.42 ▼22.75 | 0.07 ▼610.92 | 10.16 ▼39.22 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.15 ▼0.06 | 98.98 ▼4.98 | 67.36 ▲20.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- recovery_mode_email_last_sent
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-archive-and-category/ajax.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-archive-and-category/archive-backend.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/real-archive-and-category/admin.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/real-archive-and-category/select_image_dialog.php:152
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/real-archive-and-category/archive-template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-archive-and-category/REAL-Archive-Pages.php:13
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== real-archive-and-category ===
)
real-archive-and-category/REAL-Archive-Pages.php 92% from 13 tests
"REAL Archive Pages List" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("real-archive-and-category.php" instead of "REAL-Archive-Pages.php")
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
Everything looks great! No dangerous files found in this plugin2,301 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 61 | 115 | 1,597 |
JavaScript | 1 | 1 | 8 | 475 |
CSS | 2 | 2 | 0 | 229 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 10 | |
▷ Named functions | 10 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
24 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/custom_submit.png | 0.97KB | 0.99KB | 0.00% |
css/images/colorpicker_hex.png | 0.52KB | 0.42KB | ▼ 19.92% |
css/images/colorpicker_rgb_r.png | 1.04KB | 0.77KB | ▼ 26.17% |
css/images/search.png | 3.60KB | 1.07KB | ▼ 70.22% |
css/images/custom_hex.png | 0.55KB | 0.39KB | ▼ 28.11% |