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.32MB] [CPU: ▼4.04ms] Passed 4 tests
This is a short check of server-side resources used by Simple Posts Ticker - Easy, Lightweight & Flexible
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.29 | 28.27 ▼11.63 |
Dashboard /wp-admin | 3.65 ▲0.30 | 49.10 ▼11.51 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 50.10 ▲1.87 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 99.71 ▲8.69 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 38.61 ▲5.12 |
Add New /wp-admin/post-new.php?post_type=spt_ticker | 3.61 | 53.31 |
Simple Posts Ticker /wp-admin/options-general.php?page=simple-posts-ticker | 3.63 | 36.86 |
All Tickers /wp-admin/edit.php?post_type=spt_ticker | 3.61 | 35.45 |
Server storage [IO: ▲0.27MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
spt_plugin_installed_time |
widget_recent-posts |
spt_plugin_installed_time_donate |
Browser metrics Passed 4 tests
Simple Posts Ticker - Easy, Lightweight & Flexible: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲189 | 13.63 ▼0.72 | 9.29 ▲7.59 | 42.52 ▼0.85 |
Dashboard /wp-admin | 2,220 ▲43 | 5.56 ▼0.07 | 83.59 ▼16.84 | 40.09 ▼6.88 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.02 ▲0.04 | 37.50 ▲3.52 | 38.05 ▲0.75 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.67 ▲0.23 | 659.58 ▼34.38 | 49.05 ▼12.22 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.24 ▲0.06 | 97.69 ▼0.95 | 42.86 ▼0.82 |
Add New /wp-admin/post-new.php?post_type=spt_ticker | 1,565 | 2.54 | 59.44 | 49.77 |
Simple Posts Ticker /wp-admin/options-general.php?page=simple-posts-ticker | 3,153 | 2.79 | 75.38 | 70.09 |
All Tickers /wp-admin/edit.php?post_type=spt_ticker | 1,100 | 1.93 | 29.93 | 32.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- spt_plugin_installed_time_donate
- can_compress_scripts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-posts-ticker/admin/post-type.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/simple-posts-ticker/public/render.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-posts-ticker/admin/settings-loader.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-posts-ticker/admin/meta-box.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-posts-ticker/admin/notice.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/simple-posts-ticker/admin/settings-page.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-posts-ticker/admin/donate.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-posts-ticker/public/load.php:13
- > PHP Warning
Use of undefined constant SPT_PLUGIN_VERSION - assumed 'SPT_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/simple-posts-ticker/admin/settings-page.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-posts-ticker/admin/tools.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: jquery posts ticker, event ticker, news ticker, marquee, posts ticker...
simple-posts-ticker/simple-posts-ticker.php Passed 13 tests
The principal PHP file in "Simple Posts Ticker - Easy, Lightweight & Flexible" v. 1.1.6 is loaded by WordPress automatically on each request
100 characters long description:
The Simple Posts Ticker plugin is a small tool that shows your most recent posts in a marquee style.
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
Everything looks great! No dangerous files found in this plugin2,076 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 185 | 183 | 1,515 |
JavaScript | 6 | 20 | 27 | 267 |
CSS | 3 | 28 | 19 | 186 |
SVG | 1 | 0 | 0 | 99 |
XML | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 72 | |
▷ Named functions | 64 | 88.89% |
▷ Anonymous functions | 8 | 11.11% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG images were found in this plugin