Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/my-appeal/my-appeal.php+30
filemtime(): stat failed for wp-content/plugins/my-appeal//dist/my-appeal.built.min.js
Server metrics [RAM: ▼1.94MB] [CPU: ▼52.04ms] Passed 4 tests
Analyzing server-side resources used by My Appeal
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.04 ▼1.41 | 3.78 ▼35.15 |
Dashboard /wp-admin | 2.06 ▼1.24 | 5.42 ▼46.41 |
Posts /wp-admin/edit.php | 2.07 ▼1.29 | 5.58 ▼39.56 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.82 | 4.69 ▼87.03 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 6.20 ▼29.54 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
My Appeal: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲184 | 13.65 ▼0.99 | 5.01 ▲3.23 | 37.13 ▼7.60 |
Dashboard /wp-admin | 2,211 ▲20 | 5.87 ▲0.07 | 112.65 ▲7.24 | 43.26 ▼4.29 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.04 ▲0.02 | 41.09 ▼2.37 | 34.78 ▼2.16 |
Add New Post /wp-admin/post-new.php | 1,524 ▲10 | 23.20 ▲5.71 | 683.67 ▼12.29 | 63.53 ▲6.46 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.18 ▼0.04 | 103.22 ▼5.36 | 41.35 ▼5.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/my-appeal/my-appeal.php+30
filemtime(): stat failed for wp-content/plugins/my-appeal//dist/my-appeal.built.min.js
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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 JordanLeven\\Plugins\\MyAppeal\\wp_register_script() in wp-content/plugins/my-appeal/my-appeal.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: imodules, appeal code, my appeal, designation id
my-appeal/my-appeal.php Passed 13 tests
"My Appeal" version 2.2.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
120 characters long description:
My Appeal allows you to append or replace appeal codes on iModules giving links with solicitation-specific appeal codes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected20 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 18 | 19 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
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 | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin