Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Parse error in wp-content/plugins/actionable-news/actionable-news.php+113
syntax error, unexpected end of file
Server metrics [RAM: ▼0.02MB] [CPU: ▼299.10ms] Passed 4 tests
An overview of server-side resources used by Actionable News
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 63.93 ▲14.08 |
Dashboard /wp-admin | 3.41 ▲0.00 | 32.31 ▼7.85 |
Posts /wp-admin/edit.php | 3.65 ▲0.00 | 36.83 ▼1.81 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 91.08 ▼1,187.02 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 24.55 ▲0.30 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Actionable News: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,785 ▲31 | 16.16 ▲0.58 | 5.97 ▼0.02 | 1.96 ▼0.52 |
Dashboard /wp-admin | 2,895 ▲37 | 6.07 ▼0.10 | 121.35 ▼18.54 | 157.09 ▼2.68 |
Posts /wp-admin/edit.php | 2,691 ▲3 | 3.23 ▼0.00 | 63.43 ▼0.34 | 138.73 ▼7.07 |
Add New Post /wp-admin/post-new.php | 1,690 ▼27 | 20.57 ▼0.53 | 417.46 ▼55.03 | 156.09 ▼1.52 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.51 ▼0.03 | 143.58 ▼4.67 | 190.47 ▲0.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/actionable-news/actionable-news.php on line 113
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 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
3 plugin tags: stocks, news, widget
actionable-news/actionable-news.php Passed 13 tests
This is the main PHP file of "Actionable News" version 0.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
25 characters long description:
WhoTrades Actionable News
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin65 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 22 | 65 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected