Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼274.93ms] Passed 4 tests
A check of server-side resources used by Advanced Post Excerpt
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.42 | 56.99 ▲39.81 |
Dashboard /wp-admin | 3.42 ▲0.02 | 36.42 ▲2.27 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 87.29 ▲47.91 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.03 | 119.18 ▼1,144.26 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 31.00 ▲2.46 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Advanced Post Excerpt: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,769 ▲27 | 15.67 ▲0.09 | 6.32 ▲0.61 | 2.08 ▲0.05 |
Dashboard /wp-admin | 2,881 ▲27 | 6.09 ▼0.14 | 118.21 ▼13.85 | 157.63 ▼56.93 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.24 ▼0.00 | 65.48 ▲5.72 | 140.99 ▼4.12 |
Add New Post /wp-admin/post-new.php | 1,851 ▲161 | 21.84 ▲0.59 | 531.81 ▲92.08 | 240.63 ▲81.48 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.54 ▼0.00 | 148.58 ▼14.83 | 245.38 ▲56.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
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 | 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function AdvancedPostExcerpt\\add_action() in wp-content/plugins/advanced-post-excerpt/advanced-post-excerpt.php:31
- > 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
3 plugin tags: tinymce, excerpts, wysiwyg
advanced-post-excerpt/advanced-post-excerpt.php Passed 13 tests
"Advanced Post Excerpt" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
77 characters long description:
Replace the default Post Excerpt meta box with a superior editing experience.
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 detected98 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 49 | 55 |
Markdown | 2 | 20 | 0 | 41 |
JavaScript | 1 | 1 | 7 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 1 | |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin