Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/carimbador-maluco/FPDI/fpdf.php+1034
Function get_magic_quotes_runtime() is deprecated
Server metrics [RAM: ▼1.93MB] [CPU: ▼51.85ms] Passed 4 tests
This is a short check of server-side resources used by Carimbador Maluco
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 4.51 ▼36.22 |
Dashboard /wp-admin | 2.07 ▼1.23 | 6.45 ▼42.50 |
Posts /wp-admin/edit.php | 2.07 ▼1.28 | 5.75 ▼33.56 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.81 | 6.55 ▼95.10 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 5.72 ▼30.32 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 71 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Carimbador Maluco: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲95 | 13.68 ▼0.63 | 1.89 ▲0.00 | 44.62 ▼1.02 |
Dashboard /wp-admin | 2,224 ▲36 | 5.06 ▲0.18 | 101.16 ▼19.20 | 68.58 ▲22.19 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 2.32 ▲0.31 | 39.07 ▼3.12 | 35.40 ▼1.13 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 17.79 ▲0.29 | 650.54 ▲32.56 | 34.42 ▼15.85 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.39 ▲0.15 | 121.50 ▲21.81 | 44.38 ▲3.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/carimbador-maluco/FPDI/fpdf.php+1034
Function get_magic_quotes_runtime() is deprecated
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 34× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\Filter\\FilterException' not found in wp-content/plugins/carimbador-maluco/FPDI/src/PdfParser/Filter/FlateException.php:18
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\Type\\PdfType' not found in wp-content/plugins/carimbador-maluco/FPDI/src/PdfParser/Type/PdfIndirectObjectReference.php:18
- > PHP Fatal error
Uncaught Error: Class 'FPDF' not found in wp-content/plugins/carimbador-maluco/FPDI/src/FpdfTpl.php:20
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\FpdiException' not found in wp-content/plugins/carimbador-maluco/FPDI/src/PdfParser/PdfParserException.php:20
- > PHP Warning
Use of undefined constant CARIMBADOR_PLUGIN_FILE - assumed 'CARIMBADOR_PLUGIN_FILE' (this will throw an Error in a future version of PHP) in wp-content/plugins/carimbador-maluco/includes/class_carimbador.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\CrossReference\\AbstractReader' not found in wp-content/plugins/carimbador-maluco/FPDI/src/PdfParser/CrossReference/LineReader.php:24
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\Type\\PdfType' not found in wp-content/plugins/carimbador-maluco/FPDI/src/PdfParser/Type/PdfBoolean.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/carimbador-maluco/includes/pagina_configuracao.php:16
- > PHP Fatal error
require_once(): Failed opening required './FPDI/fpdf.php' (include_path='.:/usr/share/php') in wp-content/plugins/carimbador-maluco/includes/class_carimbador.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'setasign\\Fpdi\\PdfParser\\Type\\PdfType' not found in wp-content/plugins/carimbador-maluco/FPDI/src/PdfParser/Type/PdfIndirectObject.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: book, digitalcontent, pdf, protection, copyright...
carimbador-maluco/carimbador.php 85% from 13 tests
The main PHP script in "Carimbador Maluco" version 1.1.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("carimbador-maluco.php" instead of "carimbador.php")
- Requires at least: Required version does not match the one declared in readme.txt ("3.8.0" instead of "4.5")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin5,924 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 63 | 1,047 | 2,491 | 5,595 |
SVG | 1 | 1 | 1 | 170 |
Markdown | 1 | 29 | 0 | 112 |
JavaScript | 1 | 8 | 1 | 26 |
CSS | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 20.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 338.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 2 | |
Traits | 1 | |
Classes | 43 | |
▷ Abstract classes | 2 | 4.65% |
▷ Concrete classes | 41 | 95.35% |
▷ Final classes | 0 | 0.00% |
Methods | 285 | |
▷ Static methods | 59 | 20.70% |
▷ Public methods | 202 | 70.88% |
▷ Protected methods | 70 | 24.56% |
▷ Private methods | 13 | 4.56% |
Functions | 22 | |
▷ Named functions | 17 | 77.27% |
▷ Anonymous functions | 5 | 22.73% |
Constants | 46 | |
▷ Global constants | 10 | 21.74% |
▷ Class constants | 36 | 78.26% |
▷ Public constants | 36 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon.png | 0.64KB | 1.05KB | 0.00% |