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.03MB] [CPU: ▼143.07ms] Passed 4 tests
An overview of server-side resources used by Full Post Teaser
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.82 ▲0.10 | 37.96 ▲13.95 |
Dashboard /wp-admin | 3.09 ▲0.03 | 37.56 ▼13.59 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 48.00 ▲12.10 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 93.74 ▼566.34 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 32.24 ▼4.43 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Full Post Teaser: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲108 | 15.88 ▲0.40 | 7.04 ▼4.12 | 51.15 ▼5.84 |
Dashboard /wp-admin | 2,973 ▲43 | 5.92 ▼0.00 | 144.48 ▼19.95 | 120.26 ▼2.26 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▲0.01 | 69.00 ▼6.43 | 96.39 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.75 ▲0.00 | 385.13 ▼15.74 | 116.21 ▼7.21 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.03 ▲0.03 | 157.11 ▲2.67 | 121.30 ▼1.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Interface 'MakG\\PostTeaser\\VisitStorage\\VisitStorageInterface' not found in wp-content/plugins/full-post-teaser/VisitStorage/SessionVisitStorage.php:7
- > PHP Fatal error
Uncaught Error: Interface 'MakG\\PostTeaser\\BotDetector\\BotDetectorInterface' not found in wp-content/plugins/full-post-teaser/BotDetector/SearchEngineBotDetector.php:6
- > PHP Fatal error
Uncaught Error: Interface 'MakG\\PostTeaser\\ContentFilter\\ContentFilterInterface' not found in wp-content/plugins/full-post-teaser/ContentFilter/AppendReadMore.php:6
- > PHP Fatal error
Uncaught Error: Interface 'MakG\\PostTeaser\\ContentFilter\\ContentFilterInterface' not found in wp-content/plugins/full-post-teaser/ContentFilter/ConditionalFilter.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== full-post-teaser ===
)
full-post-teaser/full-post-teaser.php 92% from 13 tests
This is the main PHP file of "Full Post Teaser" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 202 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin186 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 57 | 40 | 153 |
PO File | 1 | 5 | 7 | 33 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 28.57% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin