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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.09ms] Passed 4 tests
An overview of server-side resources used by Plugin Info to CSV
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.26 ▼1.07 |
Dashboard /wp-admin | 3.32 ▲0.02 | 54.89 ▲8.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.91 ▼5.27 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 97.60 ▼5.42 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.57 ▼0.59 |
Plugin Info to CSV /wp-admin/plugins.php?page=plugininfocsv | 3.19 | 30.01 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
pluginsdata_option_name |
Browser metrics Passed 4 tests
Checking browser requirements for Plugin Info to CSV
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.48 ▲0.09 | 1.71 ▼0.07 | 38.84 ▼1.12 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.10 | 108.43 ▼9.63 | 37.16 ▼7.18 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.02 | 39.95 ▼1.11 | 35.85 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.33 ▼0.16 | 625.53 ▲24.77 | 53.86 ▼6.48 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.21 ▼0.03 | 96.53 ▼0.46 | 42.96 ▲0.94 |
Plugin Info to CSV /wp-admin/plugins.php?page=plugininfocsv | 750 | 2.06 | 23.61 | 23.42 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- pluginsdata_option_name
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)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Warning in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+32
Use of undefined constant Title - assumed 'Title' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Warning in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+32
Use of undefined constant TextDomain - assumed 'TextDomain' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Warning in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+32
Use of undefined constant DomainPath - assumed 'DomainPath' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Warning in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+32
Use of undefined constant Network - assumed 'Network' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Warning in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+36
file_get_contents(https://api.wordpress.org/plugins/info/1.0/hello.php.json): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Warning in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+39
Use of undefined constant available_version - assumed 'available_version' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Notice in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+39
Trying to get property 'version' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Warning in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+40
Use of undefined constant required_version - assumed 'required_version' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Notice in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+40
Trying to get property 'requires' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Warning in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+41
Use of undefined constant tested_version - assumed 'tested_version' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Notice in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+41
Trying to get property 'tested' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Warning in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+42
Use of undefined constant last_updated - assumed 'last_updated' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Notice in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+42
Trying to get property 'last_updated' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugininfocsv
- > Warning in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php+48
Use of undefined constant status - assumed 'status' (this will throw an Error in a future version of PHP)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php on line 12
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php on line 12
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/plugin-info-to-csv/Plugin-Info-to-CSV.php on line 12
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 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
6 plugin tags: plugin info, export, plugin info to csv, plugin export, plugin meta data...
plugin-info-to-csv/Plugin-Info-to-CSV.php 77% from 13 tests
This is the main PHP file of "Plugin Info to CSV" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 334 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("plugin-info-to-csv.php" instead of "Plugin-Info-to-CSV.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin81 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 9 | 81 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 5 | |
▷ Named functions | 5 | 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
There were not PNG files found in your plugin