Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.19MB] [CPU: ▼18.01ms] Passed 4 tests
Analyzing server-side resources used by Get Next Article
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.82 ▼0.65 | 15.94 ▼23.65 |
Dashboard /wp-admin | 3.36 ▲0.02 | 43.02 ▼16.29 |
Posts /wp-admin/edit.php | 3.19 ▼0.17 | 32.21 ▼14.82 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 80.14 ▼17.29 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 34.78 ▲0.70 |
Get Next Article /wp-admin/options-general.php?page=get_next_article_plugin | 3.22 | 35.45 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Get Next Article
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.69 ▼0.75 | 4.46 ▲2.77 | 40.95 ▼5.05 |
Dashboard /wp-admin | 2,210 ▲22 | 4.90 ▼0.02 | 106.69 ▼8.74 | 37.18 ▼9.43 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 1.99 ▼0.03 | 39.32 ▲3.26 | 35.85 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,536 ▲5 | 23.33 ▲4.99 | 626.34 ▲2.77 | 52.59 ▲1.32 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.31 ▲0.08 | 97.50 ▲1.55 | 45.55 ▲0.90 |
Get Next Article /wp-admin/options-general.php?page=get_next_article_plugin | 855 | 2.21 | 29.59 | 50.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
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)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=get_next_article_plugin
- > Warning in wp-content/plugins/get-next-article/get-next-article-class.inc.php+90
Invalid argument supplied for foreach()
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 maybe_unserialize() in wp-content/plugins/get-next-article/get-next-article-class.inc.php:16
- > 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 issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: next page, next post, next article
get-next-article/get-next-article.php 92% from 13 tests
The principal PHP file in "Get Next Article" v. 1.3.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 453 characters long)
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
Success! There were no dangerous files found in this plugin366 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 31 | 30 | 242 |
JavaScript | 2 | 26 | 21 | 124 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 82.35% |
▷ Protected methods | 2 | 11.76% |
▷ Private methods | 1 | 5.88% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There were not PNG files found in your plugin