Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.36MB] [CPU: ▼2.62ms] Passed 4 tests
Analyzing server-side resources used by Content Audit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 45.21 ▲4.54 |
Dashboard /wp-admin | 3.65 ▲0.35 | 48.97 ▼12.35 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 51.07 ▲3.06 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 87.00 ▼4.96 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 37.66 ▲3.78 |
Content Audit Attributes /wp-admin/edit-tags.php?taxonomy=content_audit&post_type=page | 3.58 | 39.79 |
Content Audit Overview /wp-admin/index.php?page=content-audit | 3.56 | 37.42 |
Content Audit /wp-admin/options-general.php?page=content-audit | 3.55 | 38.17 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
content_audit_children |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
content_audit |
Browser metrics Passed 4 tests
Content Audit: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 14.80 ▲0.42 | 1.84 ▲0.01 | 38.49 ▼6.34 |
Dashboard /wp-admin | 2,258 ▲66 | 5.85 ▲0.89 | 112.29 ▼7.82 | 43.72 ▼1.36 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.01 ▼0.03 | 40.45 ▲1.99 | 34.41 ▼2.29 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 23.55 ▲0.31 | 692.40 ▲10.13 | 36.88 ▼19.15 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.31 ▼0.14 | 96.48 ▼6.99 | 41.02 ▼2.82 |
Content Audit Attributes /wp-admin/edit-tags.php?taxonomy=content_audit&post_type=page | 1,568 | 2.14 | 27.08 | 32.05 |
Content Audit Overview /wp-admin/index.php?page=content-audit | 867 | 2.03 | 28.34 | 26.98 |
Content Audit /wp-admin/options-general.php?page=content-audit | 1,177 | 2.24 | 28.09 | 27.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- content_audit_children
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-audit/inc/admin-bar.php:83
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/content-audit/inc/dashboard-overview.php:132
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-audit/inc/bulk-quick-edit.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-audit/inc/taxonomy.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/content-audit/inc/bulk-actions.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/content-audit/inc/front-end.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-audit/inc/custom-fields.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-audit/inc/dashboard-widget.php:62
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/content-audit/inc/cron.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-audit/inc/admin-bar.php:83
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #2, #3, #4, #5, #6, #7, #8 in content-audit/assets to your readme.txt
content-audit/content-audit.php Passed 13 tests
The primary PHP file in "Content Audit" version 2.0 is used by WordPress to initiate all plugin functionality
100 characters long description:
Lets you create a content inventory and notify the responsible parties about their outdated content.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,194 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 271 | 150 | 1,527 |
CSS | 2 | 33 | 147 | 432 |
Markdown | 1 | 24 | 0 | 144 |
JavaScript | 3 | 19 | 28 | 91 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 57 | |
▷ Named functions | 57 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 compressed PNG files occupy 0.02MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/jquery-ui-icons_21759b.png | 5.23KB | 4.11KB | ▼ 21.49% |
images/jquery-ui-icons_333333.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/jquery-ui-icons_cc0000.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/jquery-ui-icons_999999.png | 4.27KB | 4.11KB | ▼ 3.78% |