Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼289.31ms] Passed 4 tests
This is a short check of server-side resources used by Prime Strategy Page Navi
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.05 | 54.80 ▼2.49 |
Dashboard /wp-admin | 3.45 ▲0.04 | 33.95 ▼0.36 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 42.56 ▲3.89 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 92.67 ▼1,156.28 |
Media Library /wp-admin/upload.php | 3.34 ▲0.04 | 29.07 ▲1.89 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Prime Strategy Page Navi
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,767 ▲9 | 15.18 ▼0.60 | 6.25 ▼0.74 | 2.28 ▲0.07 |
Dashboard /wp-admin | 2,892 ▲34 | 6.10 ▼0.07 | 120.66 ▼15.74 | 172.57 ▲6.55 |
Posts /wp-admin/edit.php | 2,688 ▼0 | 3.22 ▼0.01 | 62.99 ▼9.07 | 147.17 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,661 ▼55 | 15.85 ▼5.89 | 411.73 ▼42.34 | 155.04 ▼7.45 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.52 ▼0.00 | 149.04 ▲1.05 | 188.35 ▼2.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
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
3 plugin tags: page navi, page navigation, pagenation
prime-strategy-page-navi/prime-strategy-page-navi.php Passed 13 tests
"Prime Strategy Page Navi" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
118 characters long description:
Adds the functions to display page navigation (pagination) on home and archives (categories, authors, date and so on).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected223 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 34 | 11 | 223 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 66.00 |
▷ Minimum class complexity | 66.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 22.67 |
▷ Minimum method complexity | 5.00 |
▷ Maximum method complexity | 58.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 33.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 66.67% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin