Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼2.65ms] Passed 4 tests
An overview of server-side resources used by Genesis Featured Page Advanced
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.06 ▲1.57 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.42 ▼12.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.91 ▲1.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.63 ▲2.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.46 ▼1.02 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Genesis Featured Page Advanced
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.44 ▲0.07 | 1.62 ▲0.04 | 38.81 ▼3.12 |
Dashboard /wp-admin | 2,203 ▲11 | 5.84 ▲0.86 | 106.85 ▼2.36 | 42.51 ▲1.19 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.05 | 39.22 ▼2.11 | 35.26 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 22.76 ▼0.29 | 637.44 ▼46.37 | 53.13 ▼1.76 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.27 ▼0.01 | 97.51 ▼3.86 | 41.77 ▼5.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: featured content, widget-only, widget, featured page, genesiswp...
genesis-featured-page-advanced/genesis-featured-page-advanced.php Passed 13 tests
The primary PHP file in "Genesis Featured Page Advanced" version 1.9.9 is used by WordPress to initiate all plugin functionality
103 characters long description:
Adds an enhanced version of the Genesis - Featured Page widget. The Genesis Framework 2.0+ is required.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin596 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 117 | 110 | 466 |
JavaScript | 1 | 29 | 19 | 99 |
CSS | 1 | 0 | 0 | 31 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 93.00 |
▷ Minimum class complexity | 93.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 19.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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 were not PNG files found in your plugin