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.03MB] [CPU: ▲0.21ms] Passed 4 tests
An overview of server-side resources used by Phoenix N3
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 45.36 ▲0.95 |
Dashboard /wp-admin | 3.34 ▲0.03 | 63.71 ▲11.09 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.95 ▼4.65 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 357.94 ▲256.03 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 43.64 ▼6.56 |
Phoenix N3 Options /wp-admin/options-general.php?page=N3Video | 3.23 | 32.98 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Phoenix N3
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 14.45 ▲0.24 | 1.74 ▼0.52 | 41.35 ▲0.14 |
Dashboard /wp-admin | 2,210 ▲21 | 5.90 ▲1.02 | 103.25 ▼16.73 | 38.96 ▼8.88 |
Posts /wp-admin/edit.php | 2,096 ▲28 | 2.00 ▼0.02 | 39.06 ▲1.43 | 33.45 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 23.20 ▼0.03 | 671.52 ▲26.05 | 33.56 ▼57.40 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.03 | 116.12 ▲8.95 | 48.19 ▲0.36 |
Phoenix N3 Options /wp-admin/options-general.php?page=N3Video | 831 | 2.02 | 26.61 | 27.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=N3Video
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=N3Video
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=N3Video
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=N3Video
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/phoenix-n3/n3Plugin.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== phoenix-n3 ===
)
phoenix-n3/n3Plugin.php 85% from 13 tests
The primary PHP file in "Phoenix N3" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 165 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("phoenix-n3.php" instead of "n3Plugin.php")
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
Good job! No executable or dangerous file extensions detected368 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 63 | 15 | 217 |
PHP | 1 | 67 | 34 | 151 |
PHP code Passed 2 tests
An short overview of 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.10 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
n3.png | 12.08KB | 5.09KB | ▼ 57.91% |