Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.63ms] Passed 4 tests
This is a short check of server-side resources used by Content Audit Exporter
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 34.62 ▼0.71 |
Dashboard /wp-admin | 3.40 ▲0.05 | 43.88 ▼13.59 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 47.46 ▲2.04 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 88.36 ▼14.27 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.45 ▲4.51 |
Content Audit /wp-admin/tools.php?page=content-audit-exporter | 3.33 | 33.86 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Content Audit Exporter
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.15 ▼1.44 | 1.60 ▲0.02 | 39.75 ▼1.12 |
Dashboard /wp-admin | 2,204 ▲13 | 4.86 ▼0.04 | 108.19 ▲4.72 | 36.49 ▼7.63 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.01 ▼0.03 | 39.38 ▲4.08 | 36.14 ▲5.87 |
Add New Post /wp-admin/post-new.php | 1,540 ▲21 | 18.36 ▼4.86 | 601.54 ▼56.06 | 61.32 ▲6.53 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.25 ▲0.01 | 96.02 ▼3.74 | 41.70 ▼5.79 |
Content Audit /wp-admin/tools.php?page=content-audit-exporter | 883 | 2.07 | 24.73 | 25.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/content-audit-exporter/content-audit-exporter.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/content-audit-exporter/templates/admin/settings.php:4
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/content-audit-exporter/vendor/kasparsd/mini-sheets-php/vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/content-audit-exporter/vendor/kasparsd/mini-sheets-php/examples/basic-xlsx.php on line 3
- > PHP Warning
require(wp-content/plugins/content-audit-exporter/vendor/kasparsd/mini-sheets-php/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/content-audit-exporter/vendor/kasparsd/mini-sheets-php/examples/basic-xlsx.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'kasparsd\\MiniSheets\\AbstractBuilder' not found in wp-content/plugins/content-audit-exporter/vendor/kasparsd/mini-sheets-php/src/XlsxBuilder.php:5
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/content-audit-exporter/vendor/kasparsd/mini-sheets-php/vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/content-audit-exporter/vendor/kasparsd/mini-sheets-php/examples/basic-xml.php on line 3
- > PHP Warning
require(wp-content/plugins/content-audit-exporter/vendor/kasparsd/mini-sheets-php/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/content-audit-exporter/vendor/kasparsd/mini-sheets-php/examples/basic-xml.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'kasparsd\\MiniSheets\\AbstractBuilder' not found in wp-content/plugins/content-audit-exporter/vendor/kasparsd/mini-sheets-php/src/XmlBuilder.php:5
- > PHP Fatal error
Uncaught Error: Class 'PLContentAuditExporter\\Base\\BaseController' not found in wp-content/plugins/content-audit-exporter/includes/Pages/Settings.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: audit, content, content audit
content-audit-exporter/content-audit-exporter.php 92% from 13 tests
The main PHP script in "Content Audit Exporter" version 1.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Git Repository: A Git repository was detected inside this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,276 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 203 | 299 | 1,033 |
JSON | 3 | 0 | 0 | 134 |
CSS | 1 | 8 | 0 | 48 |
XML | 2 | 3 | 0 | 31 |
YAML | 1 | 6 | 1 | 16 |
Markdown | 1 | 17 | 0 | 14 |
PHP code Passed 2 tests
An overview 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.33 |
Average class complexity | 8.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 1 | 10.00% |
Methods | 58 | |
▷ Static methods | 8 | 13.79% |
▷ Public methods | 55 | 94.83% |
▷ Protected methods | 1 | 1.72% |
▷ Private methods | 2 | 3.45% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.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
PNG images were not found in this plugin