Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.86ms] Passed 4 tests
An overview of server-side resources used by Slide Posts with Ajax Pagination
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 45.62 ▲3.05 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.65 ▼10.48 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.37 ▼4.60 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.57 ▼11.63 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 36.00 ▼0.71 |
SlidePosts /wp-admin/options-general.php?page=sp_sampleoptions | 3.21 | 31.55 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Slide Posts with Ajax Pagination
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.38 ▼0.89 | 9.50 ▲7.65 | 42.06 ▼1.60 |
Dashboard /wp-admin | 2,202 ▲28 | 5.52 ▼0.05 | 85.31 ▼3.74 | 39.97 ▼7.32 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.04 | 33.90 ▼5.73 | 37.16 ▲4.46 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 18.36 ▼4.91 | 609.55 ▼55.73 | 69.40 ▲20.02 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.23 ▲0.04 | 100.79 ▼11.01 | 45.85 ▼1.05 |
SlidePosts /wp-admin/options-general.php?page=sp_sampleoptions | 821 | 2.00 | 27.24 | 27.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=sp_sampleoptions
- > Notice in wp-content/plugins/slideposts-ajax-pagination/slideposts-ajax-pagination.php+45
Undefined index: catname
- > GET request to /wp-admin/options-general.php?page=sp_sampleoptions
- > Notice in wp-content/plugins/slideposts-ajax-pagination/slideposts-ajax-pagination.php+48
Undefined index: postsnumber
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 fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slideposts-ajax-pagination/slideposts-ajax-pagination.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Requires at least: The plugin version is formatted incorrectly
- Tags: You are using too many tags: 12 tag instead of maximum 10
slideposts-ajax-pagination/slideposts-ajax-pagination.php Passed 13 tests
The main file in "Slide Posts with Ajax Pagination" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
65 characters long description:
This plugin adds posts from custom category with ajax pagination.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected332 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 25 | 182 |
CSS | 1 | 1 | 4 | 113 |
JavaScript | 1 | 4 | 0 | 37 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected