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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.60ms] Passed 4 tests
Analyzing server-side resources used by List all URLs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.68 ▲1.13 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.80 ▼9.78 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.21 ▼1.22 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.04 ▲4.87 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.31 ▲3.49 |
List All URLs /wp-admin/options-general.php?page=list-all-urls | 3.21 | 29.01 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by List all URLs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.24 ▼1.38 | 1.75 ▼0.38 | 43.09 ▼0.61 |
Dashboard /wp-admin | 2,210 ▲28 | 5.88 ▲0.07 | 105.08 ▼13.70 | 38.94 ▼3.99 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.00 | 38.84 ▲1.33 | 33.72 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.44 ▼4.62 | 659.84 ▼3.29 | 58.73 ▲7.55 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▼0.01 | 102.85 ▲3.11 | 43.50 ▼0.90 |
List All URLs /wp-admin/options-general.php?page=list-all-urls | 776 | 2.03 | 27.34 | 23.33 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means 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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/list-all-urls/list-all-urls.php:15
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== list-all-urls ===
) - Screenshots: Please a description for screenshot #1 in list-all-urls/assets to your readme.txt
list-all-urls/list-all-urls.php Passed 13 tests
"List all URLs" version 0.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
133 characters long description:
Creates a page in the admin panel under Settings > List All URLs that outputs an ordered list of all of the website's published URLs.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin75 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 15 | 75 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin